TextInputProps
Hierarchy
-
Omit<ComponentPropsWithoutRef<"input">,"prefix">↳
TextInputProps
Table of contents
Properties
Properties
disabled
• Optional disabled: boolean
Whether is disabled or not
Default
false;Overrides
Omit.disabled
Defined in
packages/components/src/text-input/text-input.tsx:67 (opens in a new tab)
error
• Optional error: boolean
Whether there is an error
Default
false;Defined in
packages/components/src/text-input/text-input.tsx:62 (opens in a new tab)
errorText
• Optional errorText: string
Defined in
packages/components/src/text-input/text-input.tsx:77 (opens in a new tab)
helpText
• Optional helpText: string
Defined in
packages/components/src/text-input/text-input.tsx:78 (opens in a new tab)
label
• label: string
Defined in
packages/components/src/text-input/text-input.tsx:76 (opens in a new tab)
prefix
• Optional prefix: ReactNode
Node added before input space
Defined in
packages/components/src/text-input/text-input.tsx:71 (opens in a new tab)
suffix
• Optional suffix: ReactNode
Node added before input space
Defined in
packages/components/src/text-input/text-input.tsx:75 (opens in a new tab)