For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
import { combineReducers } from 'redux'; | |
const initialState = 0; | |
function count(state = initialState, action) { | |
switch (action.type) { | |
case 'INCREMENT': | |
return state + 1 | |
case 'DECREMENT': | |
return state - 1 |
import { applyMiddleware, createStore } from 'redux'; | |
import createSagaMiddleware from 'redux-saga'; | |
import { composeWithDevTools } from 'redux-devtools-extension'; | |
import rootReducer from './reducers'; | |
import rootSaga from './sagas'; | |
export default function configureStore(initialState) { | |
const sagaMiddleware = createSagaMiddleware(); | |
const middlewares = [sagaMiddleware]; |
For example, to override the AppBar (https://material-ui-next.com/api/app-bar/) root class we can do the following:
1 - Add the property classes in the AppBar component:
<AppBar classes={{root: 'my-root-class'}}
const machineConfig = { | |
id: 'signIn', | |
context: { | |
email: '', | |
password: '', | |
}, | |
initial: 'dataEntry', | |
states: { | |
dataEntry: { | |
on: { |