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 13 14 15 16 17 | 4x 4x 4x 4x 51x 4x | import React, { memo, FunctionComponent } from 'react'; import { mapToRedeemableProps, Redeemable, RedeemableProps } from '../cart'; import { withCheckout } from '../checkout'; import { Fieldset } from '../ui/form'; const PaymentRedeemables: FunctionComponent<RedeemableProps> = redeemableProps => ( <Fieldset additionalClassName="redeemable-payments"> <Redeemable { ...redeemableProps } showAppliedRedeemables={ true } /> </Fieldset> ); export default withCheckout(mapToRedeemableProps)(memo(PaymentRedeemables)); |