MCPcopy Create free account

hub / github.com/stripe/react-stripe-js / functions

Functions125 in github.com/stripe/react-stripe-js

↓ 42 callersFunctioncreateElementComponent
( type: stripeJs.StripeElementType, isServer: boolean, customDisplayName?: string )
src/components/createElementComponent.tsx:44
↓ 36 callersFunctionsimulateEvent
(event: string, ...args: any[])
src/components/createElementComponent.test.tsx:37
↓ 16 callersFunctionuseAttachEvent
( element: stripeJs.StripeElement | null, event: string, cb?: (...args: A) => any )
src/utils/useAttachEvent.ts:4
↓ 16 callersFunctionuseStripe
()
src/components/useStripe.tsx:7
↓ 15 callersFunctionuseCheckout
()
src/checkout/components/CheckoutContext.tsx:173
↓ 14 callersFunctionuseElements
()
src/components/Elements.tsx:178
↓ 13 callersMethodgetElement
* Requires beta access: * Contact [Stripe support](https://support.stripe.com/) for more information. * * Returns the underlying [eleme
src/types/index.ts:648
↓ 13 callersFunctionusePrevious
(value: T)
src/utils/usePrevious.ts:3
↓ 11 callersFunctionmakeDeferred
()
test/makeDeferred.ts:1
↓ 10 callersFunctionisEqual
(left: unknown, right: unknown)
src/utils/isEqual.ts:5
↓ 10 callersFunctionuseEmbeddedCheckoutContext
()
src/components/EmbeddedCheckoutProvider.tsx:25
↓ 9 callersFunctionmockElement
()
test/mocks.js:1
↓ 6 callersFunctionextractAllowedOptionsUpdates
( options: unknown | void, prevOptions: unknown | void, immutableKeys: string[] )
src/utils/extractAllowedOptionsUpdates.ts:6
↓ 6 callersFunctionisUnknownObject
( raw: unknown )
src/utils/guards.ts:3
↓ 6 callersFunctionparseStripeProp
( raw: unknown, errorMsg = INVALID_STRIPE_ERROR )
src/utils/parseStripeProp.ts:26
↓ 6 callersFunctionregisterWithStripeJs
(stripe: any)
src/utils/registerWithStripeJs.ts:1
↓ 4 callersFunctionrenderWithProp
(stripeProp: unknown)
src/checkout/components/CheckoutElementsProvider.test.tsx:294
↓ 4 callersFunctionuseCheckoutForm
()
src/checkout/components/CheckoutContext.tsx:196
↓ 3 callersFunctionmapStateToCheckoutResult
( checkoutState: CheckoutState )
src/checkout/components/CheckoutContext.tsx:134
↓ 3 callersFunctionmockStripeJsWithError
()
src/components/IssuingDisclosure.test.tsx:20
↓ 3 callersFunctionmockStripeJsWithError
()
src/components/FinancialAccountDisclosure.test.tsx:20
↓ 3 callersFunctionrenderWithProp
(stripeProp: unknown)
src/checkout/components/CheckoutFormProvider.test.tsx:486
↓ 3 callersFunctionuseCheckoutElements
()
src/checkout/components/CheckoutContext.tsx:179
↓ 3 callersFunctionuseElementsOrCheckoutContextWithUseCase
( useCaseString: string )
src/checkout/components/CheckoutContext.tsx:68
↓ 3 callersFunctionvalidateCheckoutContext
( ctx: CheckoutContextValue | null, useCase: string )
src/checkout/components/CheckoutContext.tsx:56
↓ 2 callersFunctioninit
({stripe}: {stripe: stripeJs.Stripe})
src/checkout/components/CheckoutElementsProvider.tsx:67
↓ 2 callersFunctioninit
({stripe}: {stripe: stripeJs.Stripe})
src/checkout/components/CheckoutFormProvider.tsx:60
↓ 2 callersFunctionmockCheckoutSession
()
test/mocks.js:22
↓ 2 callersFunctionparseElementsContext
( ctx: ElementsContextValue | null, useCase: string )
src/components/Elements.tsx:31
↓ 2 callersFunctionsafeSetContext
(stripe: stripeJs.Stripe)
src/components/Elements.tsx:95
↓ 2 callersFunctionsetStripeAndInitEmbeddedCheckout
(stripe: stripeJs.Stripe)
src/components/EmbeddedCheckoutProvider.tsx:98
↓ 2 callersFunctionstripePromiseResolve
()
src/components/Elements.test.tsx:345
↓ 2 callersFunctionupdateResolver
()
src/components/Elements.test.tsx:340
↓ 2 callersFunctionuseElementsContextWithUseCase
( useCaseMessage: string )
src/components/Elements.tsx:168
↓ 2 callersFunctionvalidateStripe
( maybeStripe: unknown, errorMsg = INVALID_STRIPE_ERROR )
src/utils/parseStripeProp.ts:10
↓ 1 callersFunctioncapitalized
(str: string)
src/components/createElementComponent.tsx:42
↓ 1 callersFunctioncreateDisclosure
()
src/components/IssuingDisclosure.tsx:94
↓ 1 callersFunctioncreateDisclosure
()
src/components/FinancialAccountDisclosure.tsx:91
↓ 1 callersFunctionisPromise
(raw: unknown)
src/utils/guards.ts:9
↓ 1 callersFunctionisStripe
(raw: unknown)
src/utils/guards.ts:16
↓ 1 callersFunctionmaybeSdk
( state: CheckoutState )
src/checkout/components/CheckoutElementsProvider.tsx:33
↓ 1 callersFunctionmockCheckoutActions
()
test/mocks.js:40
↓ 1 callersFunctionmockCheckoutSdk
()
test/mocks.js:57
↓ 1 callersFunctionmockElements
()
test/mocks.js:8
↓ 1 callersFunctionmockEmbeddedCheckout
()
test/mocks.js:133
↓ 1 callersFunctionmockSuccessfulStripeJsCall
()
src/components/IssuingDisclosure.test.tsx:9
↓ 1 callersFunctionmockSuccessfulStripeJsCall
()
src/components/FinancialAccountDisclosure.test.tsx:9
FunctionApp
()
examples/hooks/1-Card-Detailed.js:248
FunctionApp
()
examples/hooks/14-Issuing-Elements.tsx:463
FunctionCardField
({onChange})
examples/class-components/1-Card-Detailed.js:36
FunctionCardField
({onChange})
examples/hooks/1-Card-Detailed.js:36
FunctionCheckoutForm
()
examples/hooks/9-Payment-Element.js:11
FunctionCheckoutForm
()
examples/hooks/11-Custom-Checkout.js:46
FunctionCheckoutFormExample
({layout})
examples/hooks/13-Checkout-Form.js:11
FunctionCheckoutFormWithAsyncConfirm
()
src/components/createElementComponent.test.tsx:532
FunctionClientElement
({ id, className, options = {}, onBlur, onFocus, onReady, onChange, onEscape,
src/components/createElementComponent.tsx:51
FunctionCustomerDetails
({phoneNumber, setPhoneNumber, email, setEmail})
examples/hooks/11-Custom-Checkout.js:12
FunctionElementsConsumer
({ children, })
src/components/Elements.tsx:190
FunctionEmbeddedCheckoutClientElement
({ id, className, }: EmbeddedCheckoutProps)
src/components/EmbeddedCheckout.tsx:17
FunctionEmbeddedCheckoutProvider
({ stripe: rawStripeProp, options, children, }: PrivateEmbeddedCheckoutProviderProps)
src/components/EmbeddedCheckoutProvider.tsx:76
FunctionEmbeddedCheckoutServerElement
({ id, className, }: EmbeddedCheckoutProps)
src/components/EmbeddedCheckout.tsx:54
FunctionErrorMessage
({children})
examples/class-components/1-Card-Detailed.js:79
FunctionErrorMessage
({children})
examples/hooks/1-Card-Detailed.js:79
FunctionField
({ label, id, type, placeholder, required, autoComplete, value, onChange, })
examples/class-components/1-Card-Detailed.js:42
FunctionField
({ label, id, type, placeholder, required, autoComplete, value, onChange, })
examples/hooks/1-Card-Detailed.js:42
FunctionFinancialAccountDisclosure
({ stripe: rawStripeProp, onLoad, onError, options, })
src/components/FinancialAccountDisclosure.tsx:40
FunctionIssuingDisclosure
({ stripe: rawStripeProp, onLoad, onError, options, })
src/components/IssuingDisclosure.tsx:42
FunctionIssuingElementsDemo
({ issuingCard, nonce, ephemeralKeySecret, })
examples/hooks/14-Issuing-Elements.tsx:70
FunctionNonceGenerator
({ stripe, issuingCard, onComplete, })
examples/hooks/14-Issuing-Elements.tsx:325
FunctionResetButton
({onClick})
examples/class-components/1-Card-Detailed.js:95
FunctionResetButton
({onClick})
examples/hooks/1-Card-Detailed.js:95
FunctionResult
({children})
examples/util.js:8
FunctionServerElement
(props)
src/components/createElementComponent.tsx:241
FunctionSetupFlow
({issuingCard, onComplete})
examples/hooks/14-Issuing-Elements.tsx:447
FunctionSubmitButton
({processing, error, children, disabled})
examples/class-components/1-Card-Detailed.js:69
FunctionSubmitButton
({processing, error, children, disabled})
examples/hooks/1-Card-Detailed.js:69
FunctionTestComponent
()
src/components/Elements.test.tsx:43
FunctionTestComponent
()
src/components/createElementComponent.test.tsx:1579
FunctionTestComponent
()
src/checkout/components/CheckoutElementsProvider.test.tsx:731
FunctionTestComponent
()
src/checkout/components/CheckoutFormProvider.test.tsx:66
FunctionTestConsumerComponent
()
src/components/EmbeddedCheckoutProvider.test.tsx:56
FunctioncomponentDidUpdate
()
examples/class-components/3-Payment-Request-Button.js:52
Functionconstructor
(props)
examples/class-components/4-IBAN.js:30
Functionconstructor
(props)
examples/class-components/2-Split-Card.js:35
Functionconstructor
(props)
examples/class-components/3-Payment-Request-Button.js:43
Methodconstructor
(props)
examples/class-components/1-Card-Detailed.js:117
FunctioncreatePaymentRequest
(stripe)
examples/class-components/3-Payment-Request-Button.js:61
FunctiondecoratedCb
(...args: A)
src/utils/useAttachEvent.ts:23
FunctionfetchClientSecret
()
src/components/EmbeddedCheckoutProvider.test.tsx:17
FunctionfetchClientSecret
()
src/components/EmbeddedCheckout.client.test.tsx:16
FunctionhandleEmailChange
(event)
examples/hooks/11-Custom-Checkout.js:17
FunctionhandleGenerateNonce
()
examples/hooks/14-Issuing-Elements.tsx:335
FunctionhandleLayoutChange
(e)
examples/hooks/13-Checkout-Form.js:57
FunctionhandleLoad
(e: React.FormEvent)
examples/hooks/14-Issuing-Elements.tsx:489
FunctionhandleLoadElements
()
examples/hooks/14-Issuing-Elements.tsx:353
FunctionhandlePhoneNumberChange
(event)
examples/hooks/11-Custom-Checkout.js:13
FunctionhandleSubmit
(event)
examples/hooks/0-Card-Minimal.js:15
FunctionhandleSubmit
(event)
examples/hooks/9-Payment-Element.js:17
FunctionhandleSubmit
(e)
examples/hooks/12-Embedded-Checkout.js:33
FunctionhandleSubmit
(event)
examples/hooks/4-IBAN.js:37
next →1–100 of 125, ranked by callers