@canner/antd-share-card
API
Props:
name | type | default | description |
---|---|---|---|
checked | Boolean | Whether check the card | |
value | String | Boolean | Selected value | |
text | String | Display text | |
image | String | Display image | |
imgStyle | { [string]: any } | Image style | |
labelStyle | { [string]: any } | Label style | |
onChange | (value: string | boolean) => void | Called when input is changed |