TextArea
import { TextArea } from '@app/components/TextArea'
Name
Description
Preview
value
string
placeholder
string
className
string
placeholderClassName
string
placeholderTextColor
string
hasError
boolean
readOnly
boolean
disabled
boolean
multiline
See `numberOfLines`. Also disables some `textAlign` props.
boolean
numberOfLines
number
textAlign
Might not work if multiline
enum
textAlignVertical
Might not work if multiline
enum
Location
You can find the source of the TextArea
component in the following location:
- TextArea.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:
TextArea.styled.tsx
/* --- Docs ---------------------- */
export const getDocumentationProps = TextAreaProps.documentationProps('TextArea')