import { KeyboardAvoidingView, TextInput, StyleSheet, View } from "react-native"; import Animated, { useAnimatedKeyboard, useAnimatedStyle } from "react-native-reanimated"; import { Text } from "@/themes"; import { useState } from "react"; export default function Screen() { const [content, setContent] = useState(() => { return Array.from({ length: 100 }, (_, i) => `Line ${i + 1}`).join("\n"); }); const keyboard = useAnimatedKeyboard(); const scrollViewStyle = useAnimatedStyle(() => ({ flex: 1, marginBottom: keyboard.height.value, })); return ( Hi ); } const styles = StyleSheet.create({ textInput: { width: "100%", height: "auto", borderColor: "white", borderWidth: 1, borderRadius: 3, padding: 12, backgroundColor: "white", }, });