Description
The ButtonSelect component extends the button to show a list of actions.
Usage
<ButtonSelect text="Actions">
<Button modifiers={["plain", "full-width"]} style={buttonStyles}>
Settings
</Button>
<Button modifiers={["plain", "full-width"]} style={buttonStyles}>
Sign out
</Button>
<Button modifiers={["plain", "full-width"]} style={buttonStyles}>
Help
</Button>
</ButtonSelect>
API
props
as follow:
ButtonSelect can receive a number of NAME | TYPE | DEFAULT |
---|---|---|
text | String | Actions |
children | Single or array of nodes | No content |