A React-Static plugin that adds CSS-in-JS/SSR support for jss
A React-Static plugin that adds CSS-in-JS/SSR support for jss
- Install this plugin and peer dependencies:
``bash`
$ yarn add react-static-plugin-jss react-jss
- Add the plugin to your static.config.js:
`javascript`
export default {
plugins: ['react-static-plugin-jss'],
}
- Configure it with options:
`javascriptJssProvider
export default {
plugins: [
[
'react-static-plugin-jss',
{
providerProps: {
// These props will be passed to the underlying component instance``
}
}
]
],
}