# RadioButton

Radio button component to select an item among a list.

```js
import RadioButton from 'deepsight-react-components/RadioButton';

return <RadioButton ... />
```

## Props

| prop         | type   | required | default | description                                            |
| :----------- | :----- | :------: | :------ | :----------------------------------------------------- |
| `isReadOnly` | bool   | `false`  | `false` | render passive radion button                           |
| `onChange`   | func   | `false`  | `null`  | callback for the click event                           |
| `value`      | string |  `true`  |         | identifier of radio button                             |
| `selected`   | string |  `true`  |         | identifier of the selected radio button among the list |
| `size`       | string | `false`  |         | size of the radio button (small)                       |
| `borderSize` | string | `false`  |         | size of the radio button border                        |
