import React from "react"; interface ComponentCardProps { title: string; children: React.ReactNode; className?: string; // Additional custom classes for styling desc?: string; // Description text headerAction?: React.ReactNode; } const ComponentCard: React.FC = ({ title, children, className = "", desc = "", headerAction, }) => { return (
{/* Card Header */}

{title}

{desc && (

{desc}

)} {headerAction &&
{headerAction}
}
{/* Card Body */}
{children}
); }; export default ComponentCard;