All files / app/checkout CheckoutContext.tsx

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12  79x             79x   79x  
import { CheckoutSelectors, CheckoutService } from '@bigcommerce/checkout-sdk';
import { createContext } from 'react';
 
export interface CheckoutContextProps {
    checkoutService: CheckoutService;
    checkoutState: CheckoutSelectors;
}
 
const CheckoutContext = createContext<CheckoutContextProps | undefined>(undefined);
 
export default CheckoutContext;