Radio
Container properties
All component configurations support Container properties at the first level.
Component properties
| Name | Type | Default | Supports Variable Pattern | Description |
|---|---|---|---|---|
| className | string | ✔️ | component's className | |
| style | object | component style | ||
| options | Array<{ value: string | number | bool, label: string }> | Optional | ||
| direction | 'horizontal' | 'vertical' | Direction of Radio elements | ||
| gap | 'small' | 'middle' | 'large' | number | 'small' | Spacing between Radio |
All the remaining componentsProps will be passed to the component root element(Radio.Group)。
JS API
The interface obtained through formApi.getFieldApi() is as follows:
| Name | Type | Description |
|---|---|---|
| node | HTML Element | The root DOM element of the component |