#moray-react
1 messages · Page 1 of 1 (latest)
Thanks. Have I got something in the example wrong or should I log an issue on react-stripe-js Github?
What Elements do you use? Is it Payment Element?
You should have other elements in Elements provider under PaymentForm, for example, <PaymentElement /> in this step: https://stripe.com/docs/stripe-js/react#element-components
Yes, I have that
I'm specifically asking about the type error on the Elements component
Am I using the provider incorrectly or is this type error because of a bug in the library?
React 18.2.0, @stripe/react-stripe-js 1.7.1
I think that TS issue was resolved in 1.7.2: https://github.com/stripe/react-stripe-js/issues/273#issuecomment-1102947196