@canner/antd-string-card

string card

Usage no npm install needed!

<script type="module">
  import cannerAntdStringCard from 'https://cdn.skypack.dev/@canner/antd-string-card';
</script>

README

@canner/antd-string-card

API

Props:

name type default description
id String Field id
value String Default value
uiParams uiParams: { options: Array<{ text: string, value: string }>, imgs: Array, imgStyle: { [string]: any }, labelStyle: { [string]: any }, defaultSelected: number } Setup format and output format
onChange (id: string, type: string, value: string) => void Called when input is changed