@igloo-ui/option-button
v0.3.2
Published
The option button is a component that will often be used in a group of multiple option buttons and will play a role similar to the radio buttons.
Downloads
23
Readme
OptionButton
The option button is a component that will often be used in a group of multiple option buttons and will play a role similar to the radio buttons.
Installation
To install @igloo-ui/option-button
in your project, you will need to run the following command using npm:
npm install @igloo-ui/option-button
If you prefer Yarn, use the following command instead:
yarn add @igloo-ui/option-button
Usage
Then to use the component in your code just import it!
import OptionButton from '@igloo-ui/option-button';
<OptionButton htmlFor="textBtn" name="buttonType" buttonType="text">
Text
</OptionButton>;