/** * External dependencies */ import { useBlockProps } from '@wordpress/block-editor'; import { __ } from '@wordpress/i18n'; export interface Attributes { className?: string; } const Edit = () => { const blockProps = useBlockProps( { className: 'woocommerce wc-block-product-results-count', } ); return (
{ __( 'Showing 1-X of X results', 'woo-gutenberg-products-block' ) }