@wordpress/block-library
Version:
Block library for the WordPress editor.
12 lines (11 loc) • 410 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { useInnerBlocksProps, useBlockProps } from "@wordpress/block-editor";
function save({ attributes: { tagName: Tag = "div" } }) {
const blockProps = useBlockProps.save();
const innerBlocksProps = useInnerBlocksProps.save(blockProps);
return /* @__PURE__ */ jsx(Tag, { ...innerBlocksProps });
}
export {
save as default
};
//# sourceMappingURL=save.js.map