@wordpress/block-library
Version:
Block library for the WordPress editor.
16 lines (15 loc) • 645 B
JavaScript
;
Object.defineProperties(exports, {
__esModule: { value: true },
[Symbol.toStringTag]: { value: "Module" }
});
let _wordpress_block_editor = require("@wordpress/block-editor");
let react_jsx_runtime = require("react/jsx-runtime");
// packages/block-library/src/query/save.jsx
function save({ attributes: { tagName: Tag = "div" } }) {
const blockProps = _wordpress_block_editor.useBlockProps.save();
const innerBlocksProps = _wordpress_block_editor.useInnerBlocksProps.save(blockProps);
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Tag, { ...innerBlocksProps });
}
exports.default = save;
//# sourceMappingURL=save.cjs.map