PaymentRequired
Gate content behind payment, rendering children only once the requirement is met.
import { PaymentRequired } from 'flowstack-sdk/wallet'Wraps content that should be gated behind payment. Part of the flowstack-sdk/wallet entry point.
Signature
<PaymentRequired>{children}</PaymentRequired>Parameters
| Param | Type | Notes | Description |
|---|---|---|---|
children | ReactNode | — | Content rendered once payment requirements are met. |
Examples
Gate content behind payment
<PaymentRequired>
<PaidContent />
</PaymentRequired>See also
Source: README.md#components · Also available in llms-full.txt and registry.json.