Backpack radio button component.
npm install bpk-component-radio --save-dev
import React from 'react';
import BpkRadio from 'bpk-component-radio';
export default () => (
<BpkRadio
name="return"
label="Return"
onChange={() => console.log('radio changed')}
checked
/>
);
Property | PropType | Required | Default Value |
---|---|---|---|
name | string | true | - |
label | node | true | - |
white | bool | false | false |
disabled | bool | false | false |
radioCheckedColor