Properties
There might be more props available depending on the parent component. For example, <Field.Selection variant="button"> also allows the icon property, among others, for its options.
| Property | Type | Description |
|---|---|---|
value | string number | (optional) Value for this option. |
title | string React.Node | (optional) Title for the option. Overrides children. |
groupIndex | number | (optional) What group index in the groups prop (Field.Selection) this item belongs to. |
text | string React.Node | (optional) Secondary text. |
disabled | boolean | (optional) Will disable the option. |
help | object | (optional) Provide help content for the field using title and content as a string or React.Node. Additionally, you can set open to true to display the inline help, set the breakout property to false to disable the breakout of the inline help content, or use renderAs set to dialog to render the content in a Dialog (recommended for larger amounts of content). |
children | React.Node | (optional) Optional way to provide title. Will be ignored if title is used. |