Checkbox component
A checkbox component
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { Checkbox } from '@wethecurious/wtc-ui-library'
Prop
<Checkbox
size={Size.S}
isOn={false}
handleToggle={() => console.log('toggle')}
/>
Props
Prop | Description | Default |
---|---|---|
handleToggle | function | |
labelId | Label | |
ariaLabel | Aria Label |