File "no-reviews-placeholder.js"
Full Path: /home/vantageo/public_html/cache/.wp-cli/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/blocks/reviews/reviews-by-category/no-reviews-placeholder.js
File size: 713 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { Placeholder } from '@wordpress/components';
import { Icon, review } from '@woocommerce/icons';
const NoReviewsPlaceholder = () => {
return (
<Placeholder
className="wc-block-reviews-by-category"
icon={
<Icon
srcElement={ review }
className="block-editor-block-icon"
/>
}
label={ __(
'Reviews by Category',
'woocommerce'
) }
>
{ __(
'This block lists reviews for products from selected categories. The selected categories do not have any reviews yet, but they will show up here when they do.',
'woocommerce'
) }
</Placeholder>
);
};
export default NoReviewsPlaceholder;