InputNumber
Installing
Install the component
npm install @supabase/ui
Getting started
Import the component
import { InputNumber } from '@supabase/ui'
Basic
LoadingMin and Max
You can define the min
and max
that the InputNumber allows, which will disallow a form from submitting.
API reference
Property | Type |
---|---|
autoComplete | string |
autofocus | boolean |
className | string |
defaultValue | TBC |
descriptionText | string |
disabled | boolean |
error | string |
icon | any |
id | string |
inputRef | string |
label | string |
labelOptional | string |
layout | TBC |
max | number |
min | number |
name | string |
placeholder | string |
size | TBC |
style | CSSProperties |
value | any |
onBlur | TBC |
onChange | TBC |
onFocus | TBC |
onKeyDown | TBC |