This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

stylis-plugin-logical

3.0.1 • Public • Published

stylis-plugin-logical

Stylis plugin allowing the use of CSS Logical Properties and Values.

Disclaimer: Supports only stylis v3

codesandbox example

Usage

add stylis-plugin-logical to your project

npm install stylis-plugin-logical

with emotion v10

import { jsx, css, CacheProvider } from "@emotion/core";
import createCache from "@emotion/cache";
import stylisPluginLogical from "stylis-plugin-logical";
 
 
const cache = createCache({
  stylisPlugins: [stylisPluginLogical()]
});
 
function Root({children}) {
  return (
    <CacheProvider value={cache}>
      {children}
    </CacheProvider>
  )
}

codesandbox example

Package Sidebar

Install

npm i stylis-plugin-logical

Weekly Downloads

0

Version

3.0.1

License

MIT

Unpacked Size

61.8 kB

Total Files

22

Last publish

Collaborators

  • hazem3500