frrb
Fat Responsive Radiobutton
Installation
Install frrb
using npm:
npm install --save frrb
Demo
See a demo of the component here.
Usage
Module usage
In your React app:
;; Component { return <FatResponsiveRadiobutton>Check me</FatResponsiveRadiobutton>; }
In your Unistyle code:
; fatResponsiveRadiobutton // your other styles here...;
API
<FatResponsiveRadiobutton {...props} />
Prop | Type | Description |
---|---|---|
striked | Boolean |
Toggle the alternate style (strike through text when checked) |
caption | String |
Radiobutton 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