Files
streamyfin/components/ThemedView.tsx
Fredrik Burmester 98880e05ec first commit
2024-07-31 23:19:47 +02:00

16 lines
333 B
TypeScript

import { View, type ViewProps } from "react-native";
export type ThemedViewProps = ViewProps & {
lightColor?: string;
darkColor?: string;
};
export function ThemedView({
style,
lightColor,
darkColor,
...otherProps
}: ThemedViewProps) {
return <View style={[{ backgroundColor: "black" }, style]} {...otherProps} />;
}