import { cn } from "@/app/_lib/utils" import type React from "react" import type { HTMLAttributes } from "react" interface BentoGridProps extends HTMLAttributes { className?: string children: React.ReactNode } export function BentoGrid({ className, children, ...props }: BentoGridProps) { return (
{children}
) } interface BentoGridItemProps extends HTMLAttributes { className?: string title?: string description?: string header?: React.ReactNode icon?: React.ReactNode children?: React.ReactNode colSpan?: "1" | "2" | "3" rowSpan?: "1" | "2" | "3" } export function BentoGridItem({ className, title, description, header, icon, children, colSpan = "1", rowSpan = "1", ...props }: BentoGridItemProps) { return (
{header &&
{header}
}
{icon && (
{icon}
)} {(title || description) && (
{title &&

{title}

} {description &&

{description}

}
)}
{children &&
{children}
}
) }