/**
* External dependencies
*/
import { __ } from '@wordpress/i18n';
import { Disabled, Placeholder } from '@wordpress/components';
import ServerSideRender from '@wordpress/server-side-render';
import { gridBlockPreview } from '@woocommerce/resource-previews';
import { Icon, percent } from '@wordpress/icons';
import { useBlockProps } from '@wordpress/block-editor';
/**
* Internal dependencies
*/
import { Attributes } from './types';
import { ProductOnSaleInspectorControls } from './inspector-controls';
interface Props {
attributes: Attributes;
setAttributes: ( attributes: Record< string, unknown > ) => void;
name: string;
}
const EmptyPlaceholder = () => (