@blaze-react/button-select

0.7.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @blaze-react/button-select

Weekly Downloads

1

Version

0.7.0

License

ISC

Unpacked Size

5.16 kB

Total Files

4

Last publish

Collaborators

  • mcabrerapf
  • tanane
  • daoyong
  • marekb9
  • grzegorzi
  • ishrat
  • andypail