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

{description}

{buttonText && ( {buttonIcon} {buttonText} )} {secondaryButton}
);