TypedEntitlementsReact
Defined in: src/react/index.tsx:583
What createEntitlementsReact returns: the same API, typed by your catalog.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
C extends AnyCatalog |
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
EntitlementsProvider |
(__namedParameters) => ReactElement |
src/react/index.tsx:584 |
Gate |
<K>(props) => ReactElement |
src/react/index.tsx:591 |
PricingTable |
(props) => | ReactElement<unknown, string | JSXElementConstructor<any>> | null |
src/react/index.tsx:593 |
UpgradePrompt |
<K>(props) => | ReactElement<unknown, string | JSXElementConstructor<any>> | null |
src/react/index.tsx:594 |
UsageMeter |
<K>(props) => ReactElement |
src/react/index.tsx:592 |
useCustomer |
() => CustomerInfo<PlanKey<C>> |
src/react/index.tsx:590 |
useEntitlement |
<K>(feature, options?) => EntitlementState<FeatureValue<C, K>> |
src/react/index.tsx:586 |
useEntitlements |
() => EntitlementsContextValue |
src/react/index.tsx:585 |