@igloo-ui/button-group
v0.5.3
Published
ButtonGroup displays multiple related actions or options stacked in a horizontal row to help with arrangement and spacing.
Downloads
97
Readme
ButtonGroup
ButtonGroup displays multiple related actions or options stacked in a horizontal row to help with arrangement and spacing.
Installation
To install @igloo-ui/button-group
in your project, you will need to run the following command using npm:
npm install @igloo-ui/button-group
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/button-group
Then to use the component in your code just import it!
import ButtonGroup, { ButtonItem } from '@igloo-ui/button-group';
<ButtonGroup>
<ButtonItem>Label 1</ButtonItem>
<ButtonItem>Label 2</ButtonItem>
</ButtonGroup>;