Skip to main content

EventListProps

Props for EventList

Properties

date

date: null | Date;

Date for which to display events


onClose()

onClose: () => void;

Callback to close the drawer

Returns

void


onSessionClick()?

optional onSessionClick: (session) => void;

Callback when a session is clicked

Parameters

ParameterType
sessionSessionResponse

Returns

void


open

open: boolean;

Whether the drawer is open


sessions

sessions: SessionResponse[];

Sessions for the selected date