woocommerce/plugins/woocommerce-blocks/assets/js/blocks/single-product/save.tsx

18 lines
368 B
TypeScript

/**
* External dependencies
*/
import { InnerBlocks, useBlockProps } from '@wordpress/block-editor';
const Save = () => {
const blockProps = useBlockProps.save();
return (
<div { ...blockProps }>
{ /* @ts-expect-error: `InnerBlocks.Content` is a component that is typed in WordPress core*/ }
<InnerBlocks.Content />
</div>
);
};
export default Save;