Fix: add missing export for Product Sale Badge (https://github.com/woocommerce/woocommerce-blocks/pull/7564)
This commit is contained in:
parent
c0ee82c2dd
commit
74d5bde275
|
@ -25,7 +25,7 @@ import type { BlockAttributes } from './types';
|
|||
|
||||
type Props = BlockAttributes & HTMLAttributes< HTMLDivElement >;
|
||||
|
||||
const Block = ( props: Props ): JSX.Element | null => {
|
||||
export const Block = ( props: Props ): JSX.Element | null => {
|
||||
const { className, align } = props;
|
||||
const { parentClassName } = useInnerBlockLayoutContext();
|
||||
const { product } = useProductDataContext();
|
||||
|
|
Loading…
Reference in New Issue