Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import Avatar from '@mui/joy/Avatar';
|
|
import List from '@mui/joy/List';
|
|
import ListDivider from '@mui/joy/ListDivider';
|
|
import ListItem from '@mui/joy/ListItem';
|
|
import ListItemDecorator from '@mui/joy/ListItemDecorator';
|
|
|
|
export default function HorizontalDividedList() {
|
|
return (
|
|
<List
|
|
orientation="horizontal"
|
|
variant="outlined"
|
|
sx={{
|
|
flexGrow: 0,
|
|
mx: 'auto',
|
|
'--ListItemDecorator-size': '48px',
|
|
'--ListItem-paddingY': '1rem',
|
|
borderRadius: 'sm',
|
|
}}
|
|
>
|
|
<ListItem>
|
|
<ListItemDecorator>
|
|
<Avatar size="sm" src="/static/images/avatar/1.jpg" />
|
|
</ListItemDecorator>
|
|
Mabel Boyle
|
|
</ListItem>
|
|
<ListDivider inset="gutter" />
|
|
<ListItem>
|
|
<ListItemDecorator>
|
|
<Avatar size="sm" src="/static/images/avatar/2.jpg" />
|
|
</ListItemDecorator>
|
|
Boyd Burt
|
|
</ListItem>
|
|
<ListDivider inset="gutter" />
|
|
<ListItem>
|
|
<ListItemDecorator>
|
|
<Avatar size="sm" src="/static/images/avatar/3.jpg" />
|
|
</ListItemDecorator>
|
|
Adam Tris
|
|
</ListItem>
|
|
</List>
|
|
);
|
|
}
|