@wordpress/block-library
Version:
Block library for the WordPress editor.
14 lines (13 loc) • 478 B
JavaScript
// packages/block-library/src/list-item/save.js
import { InnerBlocks, RichText, useBlockProps } from "@wordpress/block-editor";
import { jsx, jsxs } from "react/jsx-runtime";
function save({ attributes }) {
return /* @__PURE__ */ jsxs("li", { ...useBlockProps.save(), children: [
/* @__PURE__ */ jsx(RichText.Content, { value: attributes.content }),
/* @__PURE__ */ jsx(InnerBlocks.Content, {})
] });
}
export {
save as default
};
//# sourceMappingURL=save.js.map