TextInputProps
Hierarchy
-
Omit
(opens in a new tab)<ComponentPropsWithoutRef
<"input"
>,"prefix"
>↳
TextInputProps
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:71 (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:66 (opens in a new tab)
errorText
• Optional
errorText: string
Defined in
packages/components/src/text-input/text-input.tsx:81 (opens in a new tab)
helpText
• Optional
helpText: string
Defined in
packages/components/src/text-input/text-input.tsx:82 (opens in a new tab)
label
• label: ReactNode
Defined in
packages/components/src/text-input/text-input.tsx:80 (opens in a new tab)
optional
• Optional
optional: boolean
Defined in
packages/components/src/text-input/text-input.tsx:83 (opens in a new tab)
prefix
• Optional
prefix: ReactNode
Node added before input space
Defined in
packages/components/src/text-input/text-input.tsx:75 (opens in a new tab)
suffix
• Optional
suffix: ReactNode
Node added before input space
Defined in
packages/components/src/text-input/text-input.tsx:79 (opens in a new tab)