Docs / wallet / PaymentRequired

PaymentRequired

componentnot for built apps

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

ParamTypeNotesDescription
childrenReactNodeContent rendered once payment requirements are met.

Examples

Gate content behind payment
<PaymentRequired>
  <PaidContent />
</PaymentRequired>

See also

NeedsAgent · BuyInferModal

Source: README.md#components · Also available in llms-full.txt and registry.json.