UpgradePrompt
function UpgradePrompt<F>(__namedParameters): | ReactElement<unknown, string | JSXElementConstructor<any>> | null;Defined in: src/react/index.tsx:526
When feature is blocked and some plan would unlock it: “Upgrade to Pro to
use PDF export” with a button. Renders nothing when allowed, loading, or no
plan would help (a hard forbidden).
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
F extends string |
string |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
__namedParameters |
UpgradePromptProps<F> |
Returns
Section titled “Returns”| ReactElement<unknown, string | JSXElementConstructor<any>>
| null