Answers for "material ui dialog width"

1

material ui chaging the size of a dialog

<Dialog>
  fullWidth={true}
  maxWidth={'md'} // 'sm' || 'md' || 'lg' || 'xl'
</Dialog>
Posted by: Guest on April-02-2020
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
1

material ui dialog width

<Dialog>
  fullWidth={true}
  maxWidth={'lg'} ------- 'sm'   'md'   'lg'   'xl'
</Dialog>
Posted by: Guest on October-29-2021

Code answers related to "material ui dialog width"

Browse Popular Code Answers by Language