This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Timmy-time-dashboard/mobile-app/components/themed-view.tsx

16 lines
461 B
TypeScript
Raw Normal View History

import { View, type ViewProps } from "react-native";
import { cn } from "@/lib/utils";
export interface ThemedViewProps extends ViewProps {
className?: string;
}
/**
* A View component with automatic theme-aware background.
* Uses NativeWind for styling - pass className for additional styles.
*/
export function ThemedView({ className, ...otherProps }: ThemedViewProps) {
return <View className={cn("bg-background", className)} {...otherProps} />;
}