@plandalf/react
Wrap your app in PlandalfProvider, then use usePresent() to open an offer or useGate() to protect a feature. See the checkout and feature gate examples to switch between JavaScript and React code. React re-exports core SDK types such as FlowHandle, FlowOpenOptions, and GateResult; follow those links for their full fields.
Interfaces
- BaseEmbedProps
- CheckoutConfig
- CheckoutHookReturn
- CheckoutItem
- CustomerInfo
- EmbedEventCallbacks
- FullScreenEmbedProps
- GateProps
- JourneyProps
- LegacyPopupEmbedProps
- PlandalfProviderProps
- PopupEmbedProps
- StandardCheckoutArgs
- StandardEmbedProps
Type Aliases
Variables
Functions
- Gate
- Journey
- NumiPopupEmbed
- NumiStandardCheckout
- OfferFullScreenEmbed
- OfferPopupEmbed
- OfferStandardEmbed
- PlandalfProvider
- useCountdown
- useEmbedEvents
- useGate
- useGateTrigger
- useJourney
- useJourneyOptional
- useMessageListener
- useNumiEvents
- useNumiFrame
- usePlandalf
- usePresent
- usePromo
- useReferral
- useUser