# rn-textarea URL: /docs/native/components/textarea Multi-line text input component with size variants and validation. ## Installation ```bash pnpm dlx @docyrus/cli add @docyrus/rn-textarea ``` ## Usage ```tsx import { Textarea } from '@/components/docyrus-native/textarea'; ``` ## API Reference | Prop | Type | Default | Description | |------|------|---------|-------------| | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Input size | | `disabled` | `boolean` | `false` | Disable interaction | | `invalid` | `boolean` | `false` | Show invalid state | | `rows` | `number` | `3` | Minimum visible rows | | `className` | `string` | — | Additional CSS classes | | `inputClassName` | `string` | — | TextInput CSS classes | All standard `TextInputProps` are also supported (except `style` and `multiline`). ## Type Exports | Type | Description | |------|-------------| | `TextareaProps` | Props for Textarea component | | `TextareaSize` | `'sm' \| 'md' \| 'lg'` |