react-static-plugin-jss

7.6.2 • Public • Published

react-static-plugin-jss

A React-Static plugin that adds CSS-in-JS/SSR support for jss

Installation

  • Install this plugin and peer dependencies:
$ yarn add react-static-plugin-jss react-jss
  • Add the plugin to your static.config.js:
export default {
  plugins: ['react-static-plugin-jss'],
}
  • Configure it with options:
export default {
  plugins: [
    [
      'react-static-plugin-jss',
      {
        providerProps: {
          // These props will be passed to the underlying `JssProvider` component instance
        }
      }
    ]
  ],
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-static-plugin-jss

Weekly Downloads

5

Version

7.6.2

License

MIT

Unpacked Size

6.49 kB

Total Files

6

Last publish

Collaborators

  • tannerlinsley
  • sleeplessbyte