frcb
Fat Responsive Checkbox
Installation
Install frcb
using npm:
npm install --save frcb
Demo
See a demo of the component here.
Usage
Module usage
In your React app:
;; Component { return <FatResponsiveCheckbox>Check me</FatResponsiveCheckbox>; }
In your Unistyle code:
; fatResponsiveCheckbox // your other styles here...;
API
<FatResponsiveCheckbox {...props} />
Prop | Type | Description |
---|---|---|
striked | Boolean |
Toggle the alternate style (strike through text when checked) |
caption | String |
Checkbox label text. Can also be specified as children |
... | Mixed |
All other props are passed on to the internal <input> see Forms for examples |
License
MIT © Joakim Carlstein