Files
spoon/apps/expo/src/components/ui/textarea.tsx
T
Gabriel Brown 42f95530de
Build and Push Next App / quality (push) Successful in 1m27s
Build and Push Next App / build-next (push) Successful in 3m58s
Update expo application
2026-06-22 12:13:02 -04:00

19 lines
548 B
TypeScript

import type { TextInputProps } from 'react-native';
import { Text, TextInput, View } from 'react-native';
export const Textarea = ({
label,
...props
}: TextInputProps & { label: string }) => (
<View className='gap-2'>
<Text className='text-muted-foreground text-xs font-medium'>{label}</Text>
<TextInput
className='border-border bg-background text-foreground min-h-28 rounded-md border px-3 py-3 align-top'
multiline
placeholderTextColor='#71717a'
textAlignVertical='top'
{...props}
/>
</View>
);