What do you want to save?
Add Code snippet
New code examples
-
-
TypeScript 2021-11-13 19:48:22
material ui styled components with theme
import { styled, withTheme } from "@material-ui/core/styles" import Button from "@material-ui/core/Button" export const StyledButton= styled(withTheme(Button))(props => ({ background: props.theme.palette.background.paper, })) Add solution -
Javascript 2021-11-03 09:41:09
how to set height of material ui dialog react
import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles(theme => ({ dialogPaper: { height : '400px' }, })); //then in your dialog <Dialog classes={{ paper : classes.dialogPaper}} > //...... Add solution -
Other 2021-11-03 00:47:10
metrial ui
npm i @material-ui/core // material icon npm i @material-ui/icons Add solution