/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { ALLOWED_COUNTRIES } from '@woocommerce/block-settings'; import type { CartShippingAddress, CartBillingAddress, } from '@woocommerce/types'; import { FormFieldsConfig } from '@woocommerce/settings'; /** * Internal dependencies */ import './style.scss'; const AddressCard = ( { address, onEdit, target, fieldConfig, }: { address: CartShippingAddress | CartBillingAddress; onEdit: () => void; target: string; fieldConfig: FormFieldsConfig; } ): JSX.Element | null => { return (