import { AnimatedPlaceholder } from '@ui/primitives/feedback/AnimatedPlaceholder/AnimatedPlaceholder'; import type { AnimatedPlaceholderType } from '@ui/primitives/feedback/AnimatedPlaceholder/types/AnimatedPlaceholderType'; import { type ReactNode } from 'react'; export const Empty = ({ icon, animatedPlaceholderType, title, children, actions, }: { icon?: ReactNode; animatedPlaceholderType?: AnimatedPlaceholderType; title: string; children: ReactNode; actions?: ReactNode; }) => (
{animatedPlaceholderType ? ( ) : ( {icon} )}

{title}

{children}
{actions != null &&
{actions}
}
);