All files / app/payment withPayment.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 1032x   32x       32x   32x  
import { createInjectHoc } from '../common/hoc';
 
import PaymentContext, { PaymentContextProps } from './PaymentContext';
 
export type WithPaymentProps = PaymentContextProps;
 
const withPayment = createInjectHoc(PaymentContext, { displayNamePrefix: 'WithPayment' });
 
export default withPayment;