Setting the file. One moment.
Subchapter 1.65
references/context-provider/vertical-contexts/events/event.mdMarkdown1 KBView on GitHub
@wix/events/context/event (part 1 of 3)This context’s reference is split across 3 files: event.md, event-2.md, .
Read Importing a Context in Code first. Import only the hook, from @wix/events/context/event.
Supplies an event’s details to descendant components through useEventContext().
import { EventContextProvider } from '@wix/events/context/event';__0: PropsWithChildren<EventContextProviderProps>ElementThe Event context provides access to an event’s details: its name, description, image, dates, location, links, and registration status, plus its ticket definitions and membership plans. Use it to show event information in a component and to link visitors to the event’s page or to registration.
import { useEventContext } from '@wix/events/context/event';EventContextValue