summaryrefslogtreecommitdiffstats
path: root/components/themed-view.tsx
diff options
context:
space:
mode:
authorAlberto Duarte Delgado <alberto@albertoduarte.com>2026-03-25 15:32:20 +0000
committerAlberto Duarte Delgado <alberto@albertoduarte.com>2026-03-25 15:32:20 +0000
commit7809ccbba56be8c5377f94cf2d287a0e1521fdc1 (patch)
tree1c590049df5546f141eeb3bf58ad5ea9d1e0fbf6 /components/themed-view.tsx
parentd071a19fdeb0fc369e356004118f59a7fe4fed91 (diff)
Initial commit: App Oficina base project
Diffstat (limited to 'components/themed-view.tsx')
-rw-r--r--components/themed-view.tsx14
1 files changed, 0 insertions, 14 deletions
diff --git a/components/themed-view.tsx b/components/themed-view.tsx
deleted file mode 100644
index 6f181d8..0000000
--- a/components/themed-view.tsx
+++ /dev/null
@@ -1,14 +0,0 @@
-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} />;
-}