# Module: react/stripe
# Type aliases
# StripeElementsWrapperPaymentInfo
Ƭ StripeElementsWrapperPaymentInfo: { amount
: number
; isSubscription?
: false
} | { isSubscription
: true
; priceId
: string
}
# StripeElementsWrapperProps
Ƭ StripeElementsWrapperProps: { children?
: React.ReactNode
; elementsOptions?
: StripeElementsOptions
; onIntentError?
: (error
: VYouError
) => void
; onIntentSuccess?
: () => void
} & StripeElementsWrapperPaymentInfo
# Variables
# StripeElementsWrapper
• Const
StripeElementsWrapper: React.FC
<StripeElementsWrapperProps
>
# Functions
# useStripePromise
▸ useStripePromise(): null
| Promise
<null
| Stripe
>
# Returns
null
| Promise
<null
| Stripe
>
← @vyou/react Backend →