import React from "react";
import { View, Image, useColorScheme } from "react-native";
import { Text } from "@/components/ui/text";
import { cn } from "@/lib/utils";
interface EmptyStateProps {
title: string;
description?: string;
centered?: boolean;
className?: string;
}
export function EmptyState({
title,
description,
centered = false,
className,
}: EmptyStateProps) {
const content = (
{title}
{description ? (
{description}
) : null}
);
if (centered) {
return (
{content}
);
}
return content;
}