React Alegrify UI

Input

Variants

Default

<Input
      placeholder="Your name..."
      value=""
      onValueChange={() => {}}
    />

Disabled

<Input
      placeholder="Your name..."
      value=""
      onValueChange={() => {}}
      disabled
    />

Error

<Input
      placeholder="Your name..."
      value=""
      onValueChange={() => {}}
      error
    />

Multiline

<Input
      placeholder="Your name..."
      multiline
      value=""
      onValueChange={() => {}}
    />

Properties

PropertyTypeDefault
value*string
onValueChange*func
classNamestring
typestringtext
placeholderstring
fullbool
multilinebool
rowsnumber
requiredbool
disabledbool
idstring
namestring
onKeyUpfunc
onKeyDownfunc
onFocusfunc
onBlurfunc
dataTeststring
dataTestIdstring