Skip to content

spatial-monorepo


spatial-monorepo / verticals/src / useClassScheduleClick

Function: useClassScheduleClick()

useClassScheduleClick(): object

Defined in: packages/verticals/src/components/CampusProfile.tsx:729

Opens the InfoCard for a given unitId if it has an active class. Consumers should wire map click events to this callback.

Returns

object

activeClasses

activeClasses: ActiveClass[]

handleUnitClick

handleUnitClick: (unitId) => ActiveClass | null

Parameters

unitId

string

Returns

ActiveClass | null

Released under commercial licensing.