stylis-plugin-extra-class-names-specifity

1.0.0 • Public • Published

stylis-plugin-extra-class-names-specifity

stylis plugin to use with @emotion/cache, supports stylis v4+

Install

npm i stylis-plugin-extra-class-names-specifity

or

yarn add stylis-plugin-extra-class-names-specifity

import plugin and CacheProvider

import createCache from '@emotion/cache';
import { CacheProvider } from '@emotion/react';
import plugin from 'stylis-plugin-extra-class-names-specifity';

and use to wrapp your app

<CacheProvider createCache={[plugin(2)]}>
    <App />
</CacheProvider>

Package Sidebar

Install

npm i stylis-plugin-extra-class-names-specifity

Weekly Downloads

10

Version

1.0.0

License

MIT

Unpacked Size

6.89 kB

Total Files

9

Last publish

Collaborators

  • sanusart