/** * External dependencies */ import { PlainText, useBlockProps } from '@wordpress/block-editor'; import Title from '@woocommerce/base-components/title'; import classnames from 'classnames'; /** * Internal dependencies */ import './editor.scss'; export const Edit = ( { attributes, setAttributes, }: { attributes: { content: string; className: string; }; setAttributes: ( attributes: Record< string, unknown > ) => void; } ): JSX.Element => { const { content = '', className = '' } = attributes; const blockProps = useBlockProps(); return (
<PlainText className={ '' } value={ content } onChange={ ( value ) => setAttributes( { content: value } ) } />
); }; export const Save = (): JSX.Element => { return
; };