mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-04-25 02:20:02 -04:00
18 lines
330 B
TypeScript
18 lines
330 B
TypeScript
import { View } from "react-native";
|
|
import { P } from "~/primitives";
|
|
import { cn } from "~/utils";
|
|
|
|
export const EmptyView = ({
|
|
message,
|
|
className,
|
|
}: {
|
|
message: string;
|
|
className?: string;
|
|
}) => {
|
|
return (
|
|
<View className={cn("flex-1 items-center justify-center py-20", className)}>
|
|
<P>{message}</P>
|
|
</View>
|
|
);
|
|
};
|