/** * External dependencies */ import { sprintf, _n, __ } from '@wordpress/i18n'; import { useStoreCart } from '@woocommerce/base-context/hooks'; import classNames from 'classnames'; /** * Internal dependencies */ type MiniCartTitleBlockProps = { className: string; }; const Block = ( { className }: MiniCartTitleBlockProps ): JSX.Element => { const { cartItemsCount, cartIsLoading } = useStoreCart(); return (