import type { VariantProps } from 'class-variance-authority'; import { cva } from 'class-variance-authority'; import { cn } from '@gib/ui'; function Empty({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>) { return (
); } 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: "bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-4", }, }, defaultVariants: { variant: 'default', }, }, ); function EmptyMedia({ className, variant = 'default', ...props }: React.ComponentProps<'div'> & VariantProps) { return (
); } function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>) { return (
a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4', className, )} {...props} /> ); } function EmptyContent({ className, ...props }: React.ComponentProps<'div'>) { return (
); } export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, };