Files
react-test/docs/data/joy/components/button-group/VariantButtonGroup.tsx

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

31 lines
922 B
TypeScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import Button from '@mui/joy/Button';
import ButtonGroup from '@mui/joy/ButtonGroup';
import Stack from '@mui/joy/Stack';
export default function VariantButtonGroup() {
return (
<Stack spacing={2}>
<ButtonGroup aria-label="outlined button group">
<Button>One</Button>
<Button>Two</Button>
<Button>Three</Button>
</ButtonGroup>
<ButtonGroup variant="plain" aria-label="plain button group">
<Button>One</Button>
<Button>Two</Button>
<Button>Three</Button>
</ButtonGroup>
<ButtonGroup variant="soft" aria-label="soft button group">
<Button>One</Button>
<Button>Two</Button>
<Button>Three</Button>
</ButtonGroup>
<ButtonGroup variant="solid" aria-label="solid button group">
<Button>One</Button>
<Button>Two</Button>
<Button>Three</Button>
</ButtonGroup>
</Stack>
);
}