import { __ } from '@wordpress/i18n';
import type { PaymentMethodComponentProps } from '../types/blocks';
const title = __('Express Checkout', 'airwallex-online-payments-gateway');
const description = '';
// `components` is optional for compile-time JSX (the factory is
// invoked as `` without props); WC blocks injects
// `props.components.PaymentMethodLabel` at runtime via cloneElement.
type AirwallexLabelProps = Partial;
const AirwallexLabel = (props: AirwallexLabelProps) => {
const { PaymentMethodLabel } = props.components!;
return ;
}
const AirwallexContent = () => {
return {description}
;
};
const canMakePayment = (): boolean => {
return false;
}
export const airwallexExpressCheckoutOption = {
name: 'airwallex_express_checkout',
label: ,
content: ,
edit: ,
canMakePayment: canMakePayment,
ariaLabel: title,
supports: {
features: [],
}
};