import { Box, VariantProps, variants } from '@hanzo/ui'
import { cn } from "./utils"
function Empty({ className, ...props }: React.ComponentPropsWithoutRef<"div">) {
return (
)
}
function EmptyHeader({
className,
...props
}: React.ComponentPropsWithoutRef<"div">) {
return (
)
}
const emptyMediaVariants = variants(
"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-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6",
},
},
defaultVariants: {
variant: "default",
},
}
)
function EmptyMedia({
className,
variant = "default",
...props
}: React.ComponentPropsWithoutRef<"div"> &
VariantProps) {
return (
)
}
function EmptyTitle({
className,
...props
}: React.ComponentPropsWithoutRef<"div">) {
return (
)
}
function EmptyDescription({
className,
...props
}: React.ComponentPropsWithoutRef<"p">) {
return (
a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
className
)}
{...props}
/>
)
}
function EmptyContent({
className,
...props
}: React.ComponentPropsWithoutRef<"div">) {
return (
)
}
export {
Empty,
EmptyHeader,
EmptyTitle,
EmptyDescription,
EmptyContent,
EmptyMedia,
}