Files
react-test/docs/data/joy/components/list/NavList.tsx

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
668 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import List from '@mui/joy/List';
import ListItemDecorator from '@mui/joy/ListItemDecorator';
import ListItemButton from '@mui/joy/ListItemButton';
import Videocam from '@mui/icons-material/Videocam';
import Image from '@mui/icons-material/Image';
export default function NavList() {
return (
<List component="nav" sx={{ maxWidth: 320 }}>
<ListItemButton>
<ListItemDecorator>
<Image />
</ListItemDecorator>
Add another image
</ListItemButton>
<ListItemButton>
<ListItemDecorator>
<Videocam />
</ListItemDecorator>
Add another video
</ListItemButton>
</List>
);
}