0.8.0-alpha.112 • Published 9 months ago
@blaze-react/button-select
Licence
GPL-3.0
Version
0.8.0-alpha.112
Deps
0
Size
1.6 MB
Vulns
0
Weekly
0
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
ButtonSelect can receive a number of props as follow:
| NAME | TYPE | DEFAULT |
|---|---|---|
| text | String | Actions |
| children | Single or array of nodes | No content |