1.0.3 • Published 7 years ago

ak-field-radio-group v1.0.3

Weekly downloads
-
License
Apache-2.0
Repository
bitbucket
Last release
7 years ago

AtlasKit component registry Commitizen friendly semantic-release Report an issue Ask in our forum

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!

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago