TextInput
import { TextInput } from '@app/components/TextInput'
Name
Description
Preview
value
string
placeholder
string
className
string
placeholderClassName
string
placeholderTextColor
string
hasError
boolean
readOnly
boolean
disabled
boolean
Location
You can find the source of the TextInput
component in the following location:
- TextInput.styled.tsx
Disclaimer - Automatic Docgen
🤖
These dynamic component docs were auto-generated with npm run regenerate-docs
. You can hook into automatic docgen by exporting getDocumentationProps
from a component file. You’ll want to provide example props from the ComponentProps zod schema, e.g:
TextInput.styled.tsx
/* --- Docs ---------------------- */
export const getDocumentationProps = TextInputProps.documentationProps('TextInput')