import React from 'react'; interface ComponentNameProps { title: string; description?: string; imageUrl?: string; footer?: React.ReactNode; onClick?: () => void; className?: string; children?: React.ReactNode; } /** * ComponentName - A flexible card component * * @param props - Component props * @returns JSX.Element */ export const ComponentName: React.FC = ({ title, description, imageUrl, footer, onClick, className = '', children }) => { return (
{/* Image Section */} {imageUrl && (
{title}
)} {/* Content Section */}

{title}

{description && (

{description}

)} {children && (
{children}
)}
{/* Footer Section */} {footer && (
{footer}
)}
); }; export default ComponentName;