Fat Responsive Radiobutton
Install frrb
using npm:
npm install --save frrb
See a demo of the component here.
In your React app:
import React from 'react';
import FatResponsiveRadiobutton from 'frrb';
class App extends React.Component {
render() {
return <FatResponsiveRadiobutton>Check me</FatResponsiveRadiobutton>;
}
}
In your Unistyle code:
import fatResponsiveRadiobutton from 'frrb/style';
export default [
fatResponsiveRadiobutton,
// your other styles here...
];
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 |
MIT © Joakim Carlstein