/** * External dependencies */ import { __ } from '@wordpress/i18n'; import classnames from 'classnames'; import PropTypes from 'prop-types'; import { HOME_URL } from '@woocommerce/block-settings'; /** * Internal dependencies */ import './editor.scss'; import './style.scss'; /** * Component displaying a product search form. */ const ProductSearchBlock = ( { attributes: { label, placeholder, formId, className, hasLabel, align }, } ) => { const classes = classnames( 'wc-block-product-search', align ? 'align' + align : '', className ); return (