import React, { ReactNode } from 'react'; import { ScrollView, StyleSheet } from 'react-native'; import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; interface AppScrollViewProps { navigation?: any; // Change to appropriate type enabled?: boolean; horizontal?: boolean; children?: ReactNode; } const AppScrollView: React.FC = ({ enabled = true, horizontal, children, }) => { return ( {children} ); }; const styles = StyleSheet.create({ container: { flex: 1, }, }); export default AppScrollView;