/** * External dependencies */ import { useBlockProps, InnerBlocks } from '@wordpress/block-editor'; import { Template } from '@wordpress/blocks'; import { __ } from '@wordpress/i18n'; const TEMPLATE: Template[] = [ [ 'core/group', { layout: { type: 'flex', orientation: 'vertical', justifyContent: 'center', flexWrap: 'wrap', }, }, [ [ 'core/paragraph', { textAlign: 'center', fontSize: 'medium', content: `${ __( 'No results found', 'woo-gutenberg-products-block' ) }`, }, ], [ 'core/paragraph', { content: `${ __( 'You can try', 'woo-gutenberg-products-block' ) } ${ __( 'clearing any filters', 'woo-gutenberg-products-block' ) } ${ __( 'or head to our', 'woo-gutenberg-products-block' ) } ${ __( "store's home", 'woo-gutenberg-products-block' ) }`, }, ], ], ], ]; const Edit = () => { const blockProps = useBlockProps( { className: 'wc-block-product-collection-no-results', } ); return (
); }; export default Edit;