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 18 19 20 | 24x 24x 24x 24x | import React, { FunctionComponent } from 'react';
import HostedWidgetPaymentMethod, { HostedWidgetPaymentMethodProps } from './HostedWidgetPaymentMethod';
export type BarclaycardPaymentMethodProps = Omit< HostedWidgetPaymentMethodProps, 'containerId'>;
const BarclaycardPaymentMethod: FunctionComponent<BarclaycardPaymentMethodProps> = props => {
const { method } = props;
const containerId = `${method.id}-container`;
return <HostedWidgetPaymentMethod
{ ...props }
containerId={ containerId }
hideVerificationFields
/>;
};
export default BarclaycardPaymentMethod;
|