Answers for "how to set height of material ui dialog react"

1

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}} > 
   //...
 </Dialog>
Posted by: Guest on April-13-2020

Code answers related to "how to set height of material ui dialog react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language