import { useId } from "react"; /** * @param {{ * title: string, * description?: string, * children?: React.ReactNode, * footer?: React.ReactNode, * className?: string * }} props */ export function Card({ title, description, children, footer, className = "" }) { const titleId = useId(); return (

{title}

{description ?

{description}

: null}
{children ?
{children}
: null} {footer ? : null}
); }