import { forwardRef, ComponentProps, RefAttributes, ForwardRefExoticComponent, SVGProps, } from "react"; export interface CardProps extends Omit, "className" | "children"> { title: string; description: string; Icon: ForwardRefExoticComponent< Omit, "ref"> & { title?: string | undefined; titleId?: string | undefined; } & RefAttributes >; href: string; } const Card = forwardRef( ({ title, description, Icon, href, ...rest }, ref) => { return (

{title}

{description}

); } ); export default Card;