import { cn } from "@/lib/utils"; import { CT, CP } from "@/components/Texts"; import React from 'react'; import { motion } from 'framer-motion'; export const BentoGrid = ({ className, children, }: { className?: string; children?: React.ReactNode; }) => { return (
{children}
); }; interface BentoGridItemProps { className?: string; title?: string | React.ReactNode; subtitle?: string | React.ReactNode; description?: string | React.ReactNode; img?: string; video?: string; rowHeight?: string; } export const BentoGridItem = React.forwardRef( ({ className, title, subtitle, description, img, video, rowHeight }, ref) => { return (
{video ? (
{title} {subtitle} {description}
); } ); BentoGridItem.displayName = "BentoGridItem"; export const MotionBentoGridItem = motion(BentoGridItem);