Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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>
 
PREVIOUS NEXT
Tagged: #set #height #material #ui #dialog #react
ADD COMMENT
Topic
Name
2+4 =