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