README
@canner/antd-boolean-card
API
Props:
| name | type | default | description |
|---|---|---|---|
| id | String | Field id | |
| value | String | Default value | |
| uiParams |
uiParams: {
yesText: string,
noText: string,
yesImg: string,
noImg: string,
imgStyle: { [string]: any },
labelStyle: { [string]: any }
}
|
Setup format and output format | |
| onChange | (id: string, type: string, value: string) => void | Called when input is changed |