@mailstep-design-system/input
TypeScript icon, indicating that this package has built-in type declarations

0.0.17 • Public • Published
Name Type Default
appearance 'primary' | 'grid' 'primary'
type string
name string
placeholder string
autoComplete string
suffix ReactNode
label string
value string
defaultValue string
disabled boolean
readOnly boolean
icon string
onChange (e: ChangeEvent) => void
onBlur (e: ChangeEvent) => void
onInput (e: ChangeEvent) => void
onFocus (e: ChangeEvent) => void
onClear () => void
onEnter () => void
forceFocus boolean false
autoFocus boolean false
alwaysShowClear boolean
error string
inInvalid boolean undefined
spaceArround boolean | { marginTop?: number, marginRight ?: number, marginBottom ?: number, marginLeft ?: number } false
isLoading boolean
inputRef RefObject
className string
min string | number
iconPlacement 'left' | 'right' 'left'
iconOnClick (event: MouseEvent) => void
suffixOnClick (event: MouseEvent) => void
errorAppearance 'inline' | 'tooltip'
iconTooltip string
big string
showArrowsController boolean false
setNumber React.Dispatch<React.SetStateAction< number>>

Readme

Keywords

none

Package Sidebar

Install

npm i @mailstep-design-system/input

Weekly Downloads

0

Version

0.0.17

License

ISC

Unpacked Size

4.22 MB

Total Files

156

Last publish

Collaborators

  • michalkerechanyn
  • jan.jarcik.mailship