1.0.3 • Published 7 years ago
ak-field-radio-group v1.0.3
RadioGroup
Provides a standard way to select a single option from a list.
Try it out
Interact with a live demo of the ak-field-radio-group component.
Installation
npm install ak-field-radio-group
Using the component
Import the component in your React app as follows:
import FieldRadioGroup from 'ak-field-radio-group';
const items = [
{ name: 'color', value: 'red', label: 'Red' },
{ name: 'color', value: 'blue', label: 'Blue', isSelected: true },
{ name: 'color', value: 'yellow', label: 'Yellow' },
];
ReactDOM.render(
<FieldRadioGroup
items={items}
label="Pick your favourite color:"
/>,
container);
Support and feedback
We're here to help!
Let us know what you think of our components and docs, your feedback is really important for us.
Community support
Ask a question in our forum.
Check if someone has already asked the same question before.
Create a support ticket
Are you in trouble? Let us know!