material ui dialog class based component code example Example: material ui chaging the size of a dialog fullWidth={true} maxWidth={'md'} // 'sm' || 'md' || 'lg' || 'xl'