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>> |
@mailstep-design-system/input
0.0.17 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @mailstep-design-system/input
Weekly Downloads
1
Version
0.0.17
License
ISC
Unpacked Size
4.22 MB
Total Files
156