UNPKG

@wordpress/block-library

Version:
35 lines (34 loc) • 1.63 kB
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); let _wordpress_i18n = require("@wordpress/i18n"); let _wordpress_components = require("@wordpress/components"); let react_jsx_runtime = require("react/jsx-runtime"); // packages/block-library/src/comments-pagination/comments-pagination-arrow-controls.jsx function CommentsPaginationArrowControls({ value, onChange }) { return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_wordpress_components.__experimentalToggleGroupControl, { label: (0, _wordpress_i18n.__)("Arrow"), value, onChange, help: (0, _wordpress_i18n.__)("A decorative arrow appended to the next and previous comments link."), isBlock: true, children: [ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.__experimentalToggleGroupControlOption, { value: "none", label: (0, _wordpress_i18n._x)("None", "Arrow option for Comments Pagination Next/Previous blocks") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.__experimentalToggleGroupControlOption, { value: "arrow", label: (0, _wordpress_i18n._x)("Arrow", "Arrow option for Comments Pagination Next/Previous blocks") }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.__experimentalToggleGroupControlOption, { value: "chevron", label: (0, _wordpress_i18n._x)("Chevron", "Arrow option for Comments Pagination Next/Previous blocks") }) ] }); } exports.CommentsPaginationArrowControls = CommentsPaginationArrowControls; //# sourceMappingURL=comments-pagination-arrow-controls.cjs.map