/** * External dependencies */ import { useBlockProps } from '@wordpress/block-editor'; import Noninteractive from '@woocommerce/base-components/noninteractive'; /** * Internal dependencies */ import Block from './block'; export const Edit = ( { attributes, }: { attributes: { className: string; }; setAttributes: ( attributes: Record< string, unknown > ) => void; } ): JSX.Element => { const { className } = attributes; const blockProps = useBlockProps(); return (