Input

An Input is a field for short text values. It can include masks and character restrictions, such as accepting only numbers.

Optional props

error

Whether there is an error

type
boolean
default
false

disabled

Whether is disabled or not

type
boolean
default
false

prefix

Node added before input space

type
React.ReactNode
default
null

suffix

Node added before input space

type
React.ReactNode
default
null

onChange

Callback for value change

type
React.Dispatch<any>
default
null