Skip to content

UpgradePromptProps

Defined in: src/react/index.tsx:511

Props for UpgradePrompt.

Type Parameter Default type
F extends string string
Property Type Description Defined in
amount? number - src/react/index.tsx:513
children? (args) => ReactNode Custom content; receives the cheapest plan’s key + name and the full state. src/react/index.tsx:517
className? string - src/react/index.tsx:518
feature F - src/react/index.tsx:512
onUpgrade? (plan) => void Called with the cheapest unlocking plan. Default: the provider’s checkout link-out. src/react/index.tsx:515