File "edit.tsx"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/woocommerce/packages/woocommerce-blocks/assets/js/blocks/product-best-sellers/edit.tsx
File size: 408 bytes
MIME-type: text/x-java
Charset: utf-8
/**
* External dependencies
*/
import { useBlockProps } from '@wordpress/block-editor';
/**
* Internal dependencies
*/
import { ProductBestSellersBlock } from './block';
import { Props } from './types';
export const Edit = ( props: unknown & Props ): JSX.Element => {
const blockProps = useBlockProps();
return (
<div { ...blockProps }>
<ProductBestSellersBlock { ...props } />
</div>
);
};