woocommerce/plugins/woocommerce-blocks/assets/js/blocks/order-confirmation/billing-address/edit.tsx

30 lines
494 B
TypeScript

/**
* External dependencies
*/
import { useBlockProps } from '@wordpress/block-editor';
/**
* Internal dependencies
*/
import './style.scss';
const Edit = (): JSX.Element => {
const blockProps = useBlockProps( {
className: 'wc-block-order-confirmation-billing-address',
} );
return (
<div { ...blockProps }>
<address>
Test address 1<br />
Test address 2<br />
San Francisco, CA 94110
<br />
United States
</address>
</div>
);
};
export default Edit;