custom style material ui code example
Example 1: adding style to root material ui
<Button
classes={{
root: classes.root, // class name, e.g. `classes-nesting-root-x`
label: classes.label, // class name, e.g. `classes-nesting-label-x`
}}
>
classes nesting
</Button>
Example 2: material ui common styles
// with npm
npm install @material-ui/styles
// with yarn
yarn add @material-ui/styles