mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
16 lines
333 B
TypeScript
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} />;
|
|
}
|