React-JSS

React-JSS allows you to style components using Javascript syntax to define your styling.

injectSheet

This function is used to apply a JS stylesheet to a component. It is applied using the following implementation:

const styledComponent = injectSheet([JS stylesheet you have imported])([Functional component you want to style])

Don't understand this one This function allows you to use plugins. You can use hooks inside the use() function to impact the styling in some way (??)

Last updated

Was this helpful?