/** * External dependencies */ import { useBlockProps, InnerBlocks } from '@wordpress/block-editor'; const Edit = ( { attributes, setAttributes, }: { attributes: { heading: string; }; setAttributes: ( attributes: Record< string, unknown > ) => void; } ) => { const blockProps = useBlockProps(); return (
setAttributes( { heading: value } ), }, ], [ 'woocommerce/order-confirmation-billing-address', { lock: { remove: true, }, }, ], ] } />
); }; export default Edit;