"use client"; import { FC } from "react"; type Props = { icon: React.ReactNode; title: string; description?: string; actionElement?: React.ReactNode; }; export const SectionEmptyState: FC = (props) => { const { title, description, icon, actionElement } = props; return (
{icon}
{title} {description && {description}}
{actionElement && <>{actionElement}}
); };