// next import Link from "next/link"; // react import React from "react"; // icons import { ChevronRight } from "lucide-react"; type EmptySpaceProps = { title: string; description: string; children: any; Icon?: any; link?: { text: string; href: string }; }; const EmptySpace: React.FC = ({ title, description, children, Icon, link }) => ( <>
{Icon ? (
) : null}

{title}

{description}
{link ? (
{link.text}
) : null}
); type EmptySpaceItemProps = { title: string; description?: React.ReactNode | string; Icon: any; action: () => void; }; const EmptySpaceItem: React.FC = ({ title, description, Icon, action }) => ( <>
  • {title}
    {description ?
    {description}
    : null}
  • ); export { EmptySpace, EmptySpaceItem };