@wordpress/block-library
Version:
Block library for the WordPress editor.
15 lines (14 loc) • 510 B
JavaScript
// packages/block-library/src/tab/save.js
import { useBlockProps, useInnerBlocksProps } from "@wordpress/block-editor";
import { jsx } from "react/jsx-runtime";
function Save({ attributes }) {
const { anchor } = attributes;
const tabPanelId = anchor;
const blockProps = useBlockProps.save();
const innerBlocksProps = useInnerBlocksProps.save(blockProps);
return /* @__PURE__ */ jsx("section", { ...innerBlocksProps, id: tabPanelId });
}
export {
Save as default
};
//# sourceMappingURL=save.js.map