import { forwardRef } from "react" import { cn } from "@/lib/tiptap-utils" import "@/components/tiptap-ui-primitive/card/card.scss" const Card = forwardRef>( ({ className, ...props }, ref) => { return
} ) Card.displayName = "Card" const CardHeader = forwardRef>( ({ className, ...props }, ref) => { return (
) } ) CardHeader.displayName = "CardHeader" const CardBody = forwardRef>( ({ className, ...props }, ref) => { return (
) } ) CardBody.displayName = "CardBody" const CardItemGroup = forwardRef< HTMLDivElement, React.ComponentProps<"div"> & { orientation?: "horizontal" | "vertical" } >(({ className, orientation = "vertical", ...props }, ref) => { return (
) }) CardItemGroup.displayName = "CardItemGroup" const CardGroupLabel = forwardRef>( ({ className, ...props }, ref) => { return (
) } ) CardGroupLabel.displayName = "CardGroupLabel" const CardFooter = forwardRef>( ({ className, ...props }, ref) => { return (
) } ) CardFooter.displayName = "CardFooter" export { Card, CardHeader, CardFooter, CardBody, CardItemGroup, CardGroupLabel }