Initial commit

Generated by create-expo-app 3.0.0.
This commit is contained in:
Maarten 2024-07-29 15:05:06 +02:00
commit 8e0a267423
37 changed files with 32127 additions and 0 deletions

14
components/ThemedView.tsx Normal file
View file

@ -0,0 +1,14 @@
import { View, type ViewProps } from 'react-native';
import { useThemeColor } from '@/hooks/useThemeColor';
export type ThemedViewProps = ViewProps & {
lightColor?: string;
darkColor?: string;
};
export function ThemedView({ style, lightColor, darkColor, ...otherProps }: ThemedViewProps) {
const backgroundColor = useThemeColor({ light: lightColor, dark: darkColor }, 'background');
return <View style={[{ backgroundColor }, style]} {...otherProps} />;
}