Initial commit

Generated by create-expo-app 3.5.3.
This commit is contained in:
Millian Lamiaux
2026-02-17 17:34:06 +01:00
commit 5cefe864ec
38 changed files with 13955 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { View, type ViewProps } from 'react-native';
import { useThemeColor } from '@/hooks/use-theme-color';
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} />;
}