Function that will be called to render the visual representation.
It will be passed an object indicating whether the button is checked. It
should return a react element.
For example:
children={(option, { checked }) => <Box ...>{...}</Box>}
(option, { checked, hover }) => {...}Function that will be called when the user clicks on of the radio buttons. It will be passed a React event object.
({ target: { value } }) => {...}Options can be either a string or an object.
["string"][
{
"disabled": false,
"id": "ONE",
"name": "one",
"value": "1",
"label": "one"
}
]