How to use the react-jss.jss.options 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 camilla-maciel / query-firestore / src / index.js View on Github external
import React from 'react';
import { render } from 'react-dom';
import { Provider } from 'react-redux';
import { IntlProvider } from 'react-intl'
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import { JssProvider, jss } from 'react-jss';

import queryApp from './reducers';
import App from './containers/Query';

jss.options.insertionPoint = document.getElementById('material-ui-jss');
const store = createStore(queryApp, applyMiddleware(thunk));

render(
  
    
      
        
      
    
  ,
  document.getElementById('root')
);