0.1.0-alpha.2 • Published 4 years ago
@bianic-ui/checkbox v0.1.0-alpha.2
@bianic-ui/checkbox
Checkbox component is used in forms when a user needs to select multiple values from several options.
Installation
yarn add @bianic-ui/checkbox
# or
npm i @bianic-ui/checkbox
Import component
import { Checkbox } from "@bianic-ui/checkbox"
Usage
<Checkbox>This is a checkbox</Checkbox>
CheckboxGroup
CheckboxGroup is used to bind multiple checkboxes into a group, and it indicates whether one or more options are selected.
<CheckboxGroup defaultValue={["one", "two"]}>
<Checkbox value="one">One</Checkbox>
<Checkbox value="two">Two</Checkbox>
<Checkbox value="three">Three</Checkbox>
</CheckboxGroup>
0.1.0-alpha.2
4 years ago
0.1.0-alpha.1
4 years ago