Setting the file. One moment.
Subchapter 1.71
references/context-provider/vertical-contexts/events/thank-you.mdMarkdown1 KBView on GitHub
@wix/events/context/thank-you (part 1 of 4)This context’s reference is split across 4 files: thank-you.md, , , .
Read Importing a Context in Code first. Import only the hook, from @wix/events/context/thank-you.
import { ThankYouDataProvider } from '@wix/events/context/thank-you';__0: PropsWithChildren<{ data: ThankYouContextData; }>ElementReads the registration result for the current event: the RSVP status, or the order and its checkout status.
import { useThankYouContext } from '@wix/events/context/thank-you';ThankYouContextValue| Property | Type | Description |
|---|---|---|
modal | ModalContextValue | |
rsvpStatus | RsvpThankYouStatus | undefined | |
checkoutStatus | CheckoutStatus | undefined | |
token | string | undefined | |
order | Order | undefined | |
orderHttpErrorStatus | number | undefined |