TextArea
The Textarea component helps create multi-line text inputs.
import { COLORS, TextArea } from "cherag-ui"'
Usage
Example 1
<TextArea
borderRadious={15}
borderWidth={1.5}
numberOfLines={10}
placeholder="Write your opinion"
placeholderTextColor={COLORS.border}
w="40%"
/>
Example 2
<TextArea
borderRadious={15}
borderWidth={1.5}
numberOfLines={4}
placeholder="Write your opinion"
placeholderTextColor={COLORS.border}
w="30%"
/>
Props
TextArea Propertics
style
StyleProp<ViewStyle>
Style of TextArea.
borderWidth
number
Border width of TextArea.
borderRadious
number
Border radious of TextArea.
borderColor
string
Border color of TextArea.
w
string
Width of TextArea.
placeholder
string
TextArea placeholder name.
placeholderTextColor
string
Color of TextArea placeholder name.
numberOfLines
number
Number of lines of TextArea