importtype{ ReactElement }from"react";import{ Avatar }from"@react-md/avatar";import{ Divider }from"@react-md/divider";import{ List, ListItem }from"@react-md/list";import{
AdjustSVGIcon,
AppsSVGIcon,
ArchiveSVGIcon,
ArrowBackSVGIcon,
DeleteSVGIcon,}from"@react-md/material-icons";import people from"./people";import Container from"./Container";exportdefaultfunctionDemo(): ReactElement {return(<Container><List>{people.slice(0,5).map((name, i)=>(<ListItemkey={name}id={`simple-item-${i}`}>{name}</ListItem>))}</List><List><ListItemid="icon-item-0"leftAddon={<AppsSVGIcon/>}>
Apps
</ListItem><ListItemid="icon-item-1"rightAddon={<ArchiveSVGIcon/>}>
Archive
</ListItem><ListItemid="icon-item-2"leftAddon={<ArrowBackSVGIcon/>}rightAddon={<ArchiveSVGIcon/>}textChildren>
Go Back and Archive
</ListItem><Divider/><ListItemid="icon-item-3"leftAddon={<Avatar><imgsrc="https://picsum.photos/40?image=54"alt=""/></Avatar>}leftAddonType="avatar">{people[11]}</ListItem><ListItemid="icon-item-4"rightAddon={<Avatar><imgsrc="https://picsum.photos/40?image=45"alt=""/></Avatar>}rightAddonType="avatar">{people[12]}</ListItem><Dividerinset/><ListItemid="icon-item-5"leftAddon={<Avatar><imgsrc="https://picsum.photos/40?image=844"alt=""/></Avatar>}leftAddonType="avatar"rightAddon={<DeleteSVGIcon/>}>{people[13]}</ListItem><ListItemid="icon-item-6"leftAddon={<AdjustSVGIcon/>}rightAddon={<Avatar><imgsrc="https://picsum.photos/40?image=553"alt=""/></Avatar>}rightAddonType="avatar">{people[14]}</ListItem></List><List><ListItemid="media-item-0"leftAddon={<imgsrc="https://picsum.photos/56?image=700"alt=""/>}leftAddonType="media">
With a graphic
</ListItem><ListItemid="media-item-1"leftAddon={<imgsrc="https://picsum.photos/100/56?image=800"alt=""/>}leftAddonType="large-media">
With a large graphic
</ListItem><ListItemid="media-item-2"rightAddon={<imgsrc="https://picsum.photos/56?image=700"alt=""/>}rightAddonType="media">
With a graphic
</ListItem><ListItemid="media-item-3"rightAddon={<imgsrc="https://picsum.photos/100/56?image=800"alt=""/>}rightAddonType="large-media">
With a large graphic
</ListItem></List></Container>);}