From c6f2b6f85d151d6d2a2cc68eb05edd7a1e448106 Mon Sep 17 00:00:00 2001 From: jciespuertodelacruz Date: Tue, 20 Jan 2026 08:49:52 +0000 Subject: Initial commit Generated by create-expo-app 3.5.3. --- components/themed-view.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 components/themed-view.tsx (limited to 'components/themed-view.tsx') diff --git a/components/themed-view.tsx b/components/themed-view.tsx new file mode 100644 index 0000000..6f181d8 --- /dev/null +++ b/components/themed-view.tsx @@ -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 ; +} -- cgit v1.2.3-54-g00ecf