@canner/antd-boolean-switch

boolean-switch

Usage no npm install needed!

<script type="module">
  import cannerAntdBooleanSwitch from 'https://cdn.skypack.dev/@canner/antd-boolean-switch';
</script>

README

@canner/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