Button groups 按钮组组件
按钮组组件可用于对相关按钮进行分组。
<ButtonGroup variant="contained" aria-label="outlined primary button group">
<Button>One</Button>
<Button>Two</Button>
<Button>Three</Button>
</ButtonGroup>
<ButtonGroup size="small" aria-label="small button group">
{buttons}
</ButtonGroup>
<ButtonGroup color="secondary" aria-label="medium secondary button group">
{buttons}
</ButtonGroup>
<ButtonGroup size="large" aria-label="large button group">
{buttons}
</ButtonGroup>
<ButtonGroup disableElevation variant="contained">
<Button>One</Button>
<Button>Two</Button>
</ButtonGroup>