@tracoco/antd-boolean-switch
API
Props:
name | type | default | description |
---|---|---|---|
id | String | Field id | |
value | Boolean | Default value | |
uiParams |
uiParams: {
yesText: string,
noText: string
}
|
Setup output format | |
onChange | (id: string, type: string, value: string) => void | Called when input is changed |