import type { StyleProp, TextStyle } from "react-native"; import { useMemo } from "react"; import { TextInput, View } from "react-native"; import { StyleSheet, useUnistyles } from "react-native-unistyles"; import { settingsStyles } from "@/styles/settings"; interface SettingsTextAreaProps { accessibilityLabel: string; value: string; onChangeText: (text: string) => void; placeholder?: string; testID?: string; style?: StyleProp; } export function SettingsTextArea({ accessibilityLabel, value, onChangeText, placeholder, testID, style, }: SettingsTextAreaProps) { const { theme } = useUnistyles(); const inputStyle = useMemo(() => [styles.input, style], [style]); return ( ); } export function SettingsTextAreaCard(props: SettingsTextAreaProps) { return ( ); } const styles = StyleSheet.create((theme) => ({ input: { color: theme.colors.foreground, fontSize: theme.fontSize.sm, paddingVertical: theme.spacing[3], paddingHorizontal: theme.spacing[4], minHeight: 96, textAlignVertical: "top", }, }));