Init Expo

This commit is contained in:
Joshua Higgins
2025-04-16 19:28:56 -04:00
parent 3ce5547cd5
commit 874d7d6b86
37 changed files with 15391 additions and 2 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} />;
}