Textarea
Textarea renders multiline text input boxes for descriptions and feedback forms.
Usage
import { useState } from 'react';import { Textarea } from '@masumdev/rn-ui';
export function TextareaExample() { const [value, setValue] = useState('');
return ( <Textarea placeholder="Write a message or feedback..." value={value} onChangeText={setValue} numberOfLines={4} /> );}Props API
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | — | Textarea text value. |
onChangeText | (text: string) => void | — | Callback on text change. |
numberOfLines | number | 4 | Initial number of visible lines. |