import React from "react"; import Image from "next/image"; // ui import { PrimaryButton } from "components/ui"; type Props = { title: string; description?: React.ReactNode; image: any; primaryButton?: { icon?: any; text: string; onClick: () => void; }; secondaryButton?: React.ReactNode; isFullScreen?: boolean; }; export const EmptyState: React.FC = ({ title, description, image, primaryButton, secondaryButton, isFullScreen = true, }) => (
{primaryButton?.text}
{title}
{description &&

{description}

}
{primaryButton && ( {primaryButton.icon} {primaryButton.text} )} {secondaryButton}
);