/** * External dependencies */ import { __ } from '@wordpress/i18n'; import classnames from 'classnames'; import { useInnerBlockLayoutContext, useProductDataContext, } from '@woocommerce/shared-context'; import { withProductDataContext } from '@woocommerce/shared-hocs'; import type { HTMLAttributes } from 'react'; import { useColorProps, useSpacingProps, useTypographyProps, } from '@woocommerce/base-hooks'; /** * Internal dependencies */ import './style.scss'; import type { Attributes } from './types'; type Props = Attributes & HTMLAttributes< HTMLDivElement >; const Preview = ( { parentClassName, sku, className, style, }: { parentClassName: string; sku: string; className?: string | undefined; style?: React.CSSProperties | undefined; } ) => (