5a824c2eee
75 components + DESIGN_SYSTEM.md + sync script. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, output, tested, tests, test_file_path, file_path, props, emits, has_state, framework, variant
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | output | tested | tests | test_file_path | file_path | props | emits | has_state | framework | variant | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| textarea | component | ts | ui | 1.0.0 | impure | Textarea(props: TextareaProps): JSX.Element | Input multilinea accesible con auto-resize opcional. Mantine Textarea con autosize. |
|
false |
|
Componente Textarea que renderiza input multilinea accesible con auto-resize opcional | false | frontend/functions/ui/textarea.tsx |
|
|
false | react |
Ejemplo
// Basico
<Textarea placeholder="Escribe aqui..." rows={4} />
// Con auto-resize
<Textarea autoResize placeholder="Crece automaticamente..." />
// Controlado
<Textarea value={text} onChange={(e) => setText(e.target.value)} />
// Con validacion
<Textarea aria-invalid={!!error} />
Notas
Usa Mantine Textarea con autosize nativo (reemplaza el auto-resize manual anterior). forwardRef mantenido para compatibilidad con form libraries.