123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127import React,{ 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>);}