react-stripe-checkout
react-stripe-checkout copied to clipboard
[ts] `opened` and `closed` props are missing in TypeScript type declarations
I would like to use the closed prop in my TypeScript application but it is not compiling because it is missing in the index.d.ts type declarations file, throwing this error:
[ts] Property 'closed' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<StripeCheckout> & Readonly<{ children?: ReactNode;...'.
I am quite new to TypeScript and do not currently know how to make it work without those props being added to the index.d.ts of react-stripe-checkout.
Same issue.