You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrap main container's content with the MuiThemeProvider component.
import{MuiThemeProvider}from'material-ui/styles';
1.Grid
Creates visual consistency between layouts.
<Gridspacing={Number}container// for wrapping items properly if you want paddingitem// if you don't want paddingdirection=""// row, row-reverse, coluumn, column-reversejustify=""// center, space-between, space-evenlyalignItems=""// flex-start, center,/>
<BottomNavigationvalue={}// When you click this value take value of bottomNavigationActiononChange={}// you can send value by handleChange .><BottomNaviagtionActionlabel=""value=""icon={<Icon_name/>}></BottomNvigation>
<Card><CardHeaderavatar={}action={}// for icontitle=""subheader=""/><CardMediaimage=""title=""/><CardContent>{children}</CardContent><CardActions>{children}</CardActions></CardContent>
12. Expansion Panel
<ExpansionPanelexpanded={Boolean}onChange={Function}><ExpansionPanelSummaryExpandIcon={<Icon_name/>}id="">
text
</ExpansionPanelSummary><ExpansionPanelDetails>text</ExpansionPanelDetails></ExpansionPanel>
13. Progress
<CircularProgresssize={Number}/><LinearProgress/>
14.Dialog
In this first value of open is false. After the open dialog value of open is true and for closing the Dialog , through the onClose the value of open going to change to back false.
const[open,setOpen]=useState(false);handleClose=()=>{setOpen(false);};handleOpen=()=>{setOpen(true);};<ButtononClick={handleOpen}/>// and it's open the dialog with the value of open true.<Dialogopen={open}onClose={handleClose}><DialogTitleonClose={handleClose}>text</DialogTitle><DialogContent><DialogContentText>text</DialogContentText></DialogContent><List>{data.map((one)=>(<ListItem><ListItemTextprimay="one"/></ListItem>))}</List></Dialog>
<AutoCompleteoption={data}getOptionLabel={data.somethingLikeTitle}renderInput={(params)=><TextField{...params}varinat=""outlined/>}freeSole={Boolean}// true, so user input is not bound to provided options./>