'use client'; import React from 'react'; interface EmptyStateProps { icon?: string; title?: string; message: string; action?: { label: string; onClick: () => void; }; } /** * Reusable empty state component for lists and tables */ export const EmptyState: React.FC = ({ icon = '📝', title, message, action, }) => { return (
{icon}
{title &&

{title}

}

{message}

{action && ( )}
); }; export default EmptyState;