UNPKG

@wordpress/block-library

Version:
13 lines (12 loc) • 428 B
import { RichText, useBlockProps } from "@wordpress/block-editor"; import { jsx } from "react/jsx-runtime"; // packages/block-library/src/preformatted/save.jsx function save({ attributes }) { const { content } = attributes; return /* @__PURE__ */ jsx("pre", { ...useBlockProps.save(), children: /* @__PURE__ */ jsx(RichText.Content, { value: content }) }); } export { save as default }; //# sourceMappingURL=save.mjs.map