2019-08-23 14:48:48 +00:00
/ * *
* External dependencies
* /
import { _ _ } from '@wordpress/i18n' ;
import { Placeholder } from '@wordpress/components' ;
2019-08-27 10:01:35 +00:00
/ * *
* Internal dependencies
* /
import { IconAllReviews } from '../../../components/icons' ;
2019-08-23 14:48:48 +00:00
const NoCategoryReviewsPlaceholder = ( ) => {
return (
< Placeholder
className = "wc-block-all-reviews"
2019-08-27 10:01:35 +00:00
icon = { < IconAllReviews className = "block-editor-block-icon" / > }
2019-08-23 14:48:48 +00:00
label = { _ _ ( 'All Reviews' , 'woo-gutenberg-products-block' ) }
>
{ _ _ ( '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.' , 'woo-gutenberg-products-block' ) }
< / P l a c e h o l d e r >
) ;
} ;
export default NoCategoryReviewsPlaceholder ;