import type { SchedulingView } from '../types' interface SchedulingCardProps { title: string description: string icon: React.ReactNode status: { label: string color: 'green' | 'blue' | 'yellow' } footer: { left: string right: string } onClick: () => void } export function SchedulingCard({ title, description, icon, status, footer, onClick }: SchedulingCardProps) { const statusColors = { green: 'bg-green-100 dark:bg-green-900/20 text-green-800 dark:text-green-400', blue: 'bg-blue-100 dark:bg-blue-900/20 text-blue-800 dark:text-blue-400', yellow: 'bg-yellow-100 dark:bg-yellow-900/20 text-yellow-800 dark:text-yellow-400', } return (
{icon}
{status.label}

{title}

{description}

{footer.left}
{footer.right}
) }