Initial commit

Generated by create-expo-app 3.5.3.
This commit is contained in:
Tran Anh Tuan
2025-10-29 09:38:54 +07:00
commit 45dc7d1ff8
38 changed files with 14426 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} />;
}