"use client"; import React from "react"; import Image from "next/image"; import { Button } from "@plane/ui"; type Props = { title: string; description?: React.ReactNode; image?: any; primaryButton?: { icon?: any; text: string; onClick: () => void; }; secondaryButton?: React.ReactNode; disabled?: boolean; }; export const EmptyState: React.FC = ({ title, description, image, primaryButton, secondaryButton, disabled = false, }) => (
{image && {primaryButton?.text}
{title}
{description &&

{description}

}
{primaryButton && ( )} {secondaryButton}
);