11 lines
305 B
TypeScript
11 lines
305 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { useBlockProps, useInnerBlocksProps } from '@wordpress/block-editor';
|
|
|
|
export const Save = (): JSX.Element => {
|
|
const blockProps = useBlockProps.save();
|
|
const innerBlocksProps = useInnerBlocksProps.save( blockProps );
|
|
return <div { ...innerBlocksProps } />;
|
|
};
|