import AppointmentSummary from '@ltht-react/appointment-summary'
<AppointmentSummary title="Appointments" appointments={appointments} clickHandler={handleClick} />
Prop | Required | Default | Type | Description |
---|---|---|---|---|
title |
No | Appointments | string | Header text |
appointments |
Yes | Encounter[] | Array of appointments to display | |
clickHandler |
No | undefined | Function | Callback click handler containing the selected appointment item |