Answers for "how to use css in material ui"

2

how to use css in 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>
Posted by: Guest on December-21-2020
0

how to use css in material ui

import React from 'react';
import Button from '@material-ui/core/Button';
import './PlainCssButton.css';

export default function PlainCssButton() {
  return (
    <div>
      <Button>Default</Button>
      <Button className="button">Customized</Button>
    </div>
  );
}
Posted by: Guest on March-02-2021

Code answers related to "how to use css in material ui"

Browse Popular Code Answers by Language