README
@canner/antd-string-radio
API
Props:
| name | type | default | description |
|---|---|---|---|
| id | String | Field id | |
| value | String | Default value | |
| uiParams |
{
options: Array<{
text: string,
value: string
}>,
defaultSelected: number
}
|
Setup options and selected option | |
| onChange | (id: string, type: string, value: string) => void | Called when input is changed |