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 | - |
ariaLabel | string | false | props.label |
disabled | bool | false | false |
white | bool | false | false |
valid | bool | false | null |
radioCheckedColor
On Internet Explorer 11, radio buttons have the standard built-in appearance.