export default function RecentConsultations() {
    const consultations = [
      { date: 'Apr 29, 2025', doctor: 'Dr. N. Mbeki', summary: 'Diabetes checkup and advice' },
      { date: 'Apr 22, 2025', doctor: 'Dr. S. Wanjiku', summary: 'Follow-up on test results' },
    ];
  
    return (
      <div className="bg-white p-4 rounded-lg shadow">
        <h3 className="text-lg font-semibold mb-3">Recent Consultations</h3>
        <ul className="space-y-2">
          {consultations.map((item, index) => (
            <li key={index} className="border-b pb-2">
              <p className="text-sm font-medium">{item.date} - {item.doctor}</p>
              <p className="text-xs text-gray-600">{item.summary}</p>
            </li>
          ))}
        </ul>
      </div>
    );
  }
  