UNPKG

@wordpress/block-library

Version:
20 lines (19 loc) • 830 B
"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/query-pagination/query-pagination-label-control.jsx function QueryPaginationLabelControl({ value, onChange }) { return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.ToggleControl, { label: (0, _wordpress_i18n.__)("Show label text"), help: (0, _wordpress_i18n.__)("Make label text visible, e.g. \"Next Page\"."), onChange, checked: value === true }); } exports.QueryPaginationLabelControl = QueryPaginationLabelControl; //# sourceMappingURL=query-pagination-label-control.cjs.map