import React from "react"; import { cn } from "@/lib/utils"; export type BentoGridProps = React.HTMLAttributes; export const BentoGrid = ({ className, children, ...props }: BentoGridProps) => { return (
{children}
); }; export interface BentoCardProps extends React.HTMLAttributes { header?: React.ReactNode; icon?: React.ReactNode; title: string; description: string; colSpan?: 1 | 2 | 3; } export const BentoCard = ({ className, header, icon, title, description, colSpan = 1, ...props }: BentoCardProps) => { const colSpanClasses = { 1: "md:col-span-1", 2: "md:col-span-2", 3: "md:col-span-3", }; return (
{header &&
{header}
}
{icon && (
{icon}
)}

{title}

{description}

); };