@canner/antd-number-input

number input

Usage no npm install needed!

<script type="module">
  import cannerAntdNumberInput from 'https://cdn.skypack.dev/@canner/antd-number-input';
</script>

README

@canner/antd-number-input

API

Props:

name type default description
id String Field id
value String Default value
disabled Boolean Whether input is disabled
uiParams uiParams: { min: number, max: number, step: number, unit: string } Setup params
onChange (id: string, type: string, value: string) => void Called when input is changed