2019-08-23 14:48:48 +00:00
|
|
|
/**
|
|
|
|
* External dependencies
|
|
|
|
*/
|
|
|
|
import { __ } from '@wordpress/i18n';
|
|
|
|
import { Placeholder } from '@wordpress/components';
|
2022-02-01 16:54:38 +00:00
|
|
|
import { Icon, postComments } from '@wordpress/icons';
|
2019-08-23 14:48:48 +00:00
|
|
|
|
2023-06-06 12:46:49 +00:00
|
|
|
const NoCategoryReviewsPlaceholder = (): JSX.Element => {
|
2019-08-23 14:48:48 +00:00
|
|
|
return (
|
|
|
|
<Placeholder
|
|
|
|
className="wc-block-all-reviews"
|
2020-01-31 18:20:33 +00:00
|
|
|
icon={
|
|
|
|
<Icon
|
2022-02-01 16:54:38 +00:00
|
|
|
icon={ postComments }
|
2020-01-31 18:20:33 +00:00
|
|
|
className="block-editor-block-icon"
|
|
|
|
/>
|
|
|
|
}
|
2023-12-12 22:12:36 +00:00
|
|
|
label={ __( 'All Reviews', 'woocommerce' ) }
|
2019-08-23 14:48:48 +00:00
|
|
|
>
|
2019-09-05 15:09:31 +00:00
|
|
|
{ __(
|
|
|
|
'This block shows a list of all product reviews. Your store does not have any reviews yet, but they will show up here when it does.',
|
2023-12-12 22:12:36 +00:00
|
|
|
'woocommerce'
|
2019-09-05 15:09:31 +00:00
|
|
|
) }
|
2019-08-23 14:48:48 +00:00
|
|
|
</Placeholder>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default NoCategoryReviewsPlaceholder;
|