/** * External dependencies */ import { InnerBlocks, useBlockProps } from '@wordpress/block-editor'; /** * Internal dependencies */ import metadata from './block.json'; const v1 = { attributes: metadata.attributes, supports: metadata.supports, save: () => { const blockProps = useBlockProps.save(); return (
{ /* @ts-expect-error: `InnerBlocks.Content` is a component that is typed in WordPress core*/ }
); }, }; const deprecated = [ v1 ]; export default deprecated;