import React from 'react'; import { Button } from '../Button'; import { Icon } from '../Icon'; import { QaheraIconName } from '../types'; export interface EmptyStateProps extends React.HTMLAttributes { title?: string; description?: string; icon?: QaheraIconName; actionLabel?: string; onAction?: () => void; secondaryLabel?: string; onSecondaryAction?: () => void; } export const EmptyState: React.FC = ({ title = 'لا توجد عناصر لعرضها', description = 'لم يتم العثور على أي سجلات في هذا القسم حالياً. يمكنك البدء بإضافة عنصر جديد.', icon = 'folder', actionLabel, onAction, secondaryLabel, onSecondaryAction, className = '', ...props }) => { return (

{title}

{description}

{actionLabel && ( )} {secondaryLabel && ( )}
); };