UNPKG

@wordpress/block-library

Version:
17 lines (16 loc) • 552 B
import { InnerBlocks, useBlockProps } from "@wordpress/block-editor"; import { jsx } from "react/jsx-runtime"; // packages/block-library/src/list/save.jsx function save({ attributes }) { const { ordered, type, reversed, start } = attributes; return /* @__PURE__ */ jsx(ordered ? "ol" : "ul", { ...useBlockProps.save({ reversed, start, style: { listStyleType: ordered && type !== "decimal" ? type : void 0 } }), children: /* @__PURE__ */ jsx(InnerBlocks.Content, {}) }); } export { save as default }; //# sourceMappingURL=save.mjs.map