import { cva, type VariantProps } from 'class-variance-authority' import { cn } from '@/lib/utils' const Empty = ({ className, ...props }: React.ComponentProps<'div'>) => (
) const EmptyHeader = ({ className, ...props }: React.ComponentProps<'div'>) => ( ) const emptyMediaVariants = cva( 'mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0', { variants: { variant: { default: 'bg-transparent', icon: "flex size-8 shrink-0 items-center justify-center rounded-lg bg-muted text-foreground [&_svg:not([class*='size-'])]:size-4", }, }, defaultVariants: { variant: 'default', }, }, ) const EmptyMedia = ({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantPropsa]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary', className, )} {...props} /> ) const EmptyContent = ({ className, ...props }: React.ComponentProps<'div'>) => (
) export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle }