File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ type StripeCheckoutActions = Omit<
4242 'on'
4343> ;
4444
45- interface CheckoutContextValue
45+ export interface CheckoutContextValue
4646 extends StripeCheckoutActions ,
4747 stripeJs . StripeCheckoutSession { }
4848const CheckoutContext = React . createContext < CheckoutContextValue | null > ( null ) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,11 @@ export * from './types';
2727
2828export { useElements , Elements , ElementsConsumer } from './components/Elements' ;
2929
30- export { useCheckout , CheckoutProvider } from './components/CheckoutProvider' ;
30+ export {
31+ useCheckout ,
32+ CheckoutProvider ,
33+ CheckoutContextValue ,
34+ } from './components/CheckoutProvider' ;
3135export { EmbeddedCheckout } from './components/EmbeddedCheckout' ;
3236export { EmbeddedCheckoutProvider } from './components/EmbeddedCheckoutProvider' ;
3337export { useStripe } from './components/useStripe' ;
You can’t perform that action at this time.
0 commit comments