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
28 lines
970 B
TypeScript
28 lines
970 B
TypeScript
import Avatar from '@mui/joy/Avatar';
|
|
import AvatarGroup from '@mui/joy/AvatarGroup';
|
|
import IconButton from '@mui/joy/IconButton';
|
|
import SvgIcon from '@mui/joy/SvgIcon';
|
|
|
|
export default function EllipsisAvatarAction() {
|
|
return (
|
|
<AvatarGroup>
|
|
<Avatar alt="Remy Sharp" src="/static/images/avatar/1.jpg" />
|
|
<Avatar alt="Travis Howard" src="/static/images/avatar/2.jpg" />
|
|
<Avatar alt="Cindy Baker" src="/static/images/avatar/3.jpg" />
|
|
<IconButton
|
|
color="neutral"
|
|
onClick={() => alert('You clicked!')}
|
|
sx={{
|
|
borderRadius: '50%',
|
|
marginInlineStart: 'var(--Avatar-marginInlineStart)',
|
|
boxShadow: 'var(--Avatar-ring)',
|
|
}}
|
|
>
|
|
<SvgIcon>
|
|
<path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
|
</SvgIcon>
|
|
</IconButton>
|
|
</AvatarGroup>
|
|
);
|
|
}
|