UNPKG

@wordpress/block-library

Version:
22 lines (21 loc) • 777 B
"use strict"; 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/list/save.jsx function save({ attributes }) { const { ordered, type, reversed, start } = attributes; return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ordered ? "ol" : "ul", { ..._wordpress_block_editor.useBlockProps.save({ reversed, start, style: { listStyleType: ordered && type !== "decimal" ? type : void 0 } }), children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_block_editor.InnerBlocks.Content, {}) }); } exports.default = save; //# sourceMappingURL=save.cjs.map