How to use the react-jss.create function in react-jss

To help you get started, we’ve selected a few react-jss examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github sergeysova / rurarar / src / styles / jss.js View on Github external
import { create as createJss } from 'jss'
import { create as createSheet } from 'react-jss'
import defaultPreset from 'jss-preset-default'

export const jss = createJss()

jss.setup(defaultPreset())

export const useSheet = createSheet(jss)