UNPKG

@wordpress/block-library

Version:
22 lines (21 loc) • 783 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/terms-query/edit/inspector-controls/max-terms-control.jsx function MaxTermsControl({ value, onChange, ...props }) { return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_wordpress_components.RangeControl, { value, min: 0, max: 100, onChange, help: (0, _wordpress_i18n.__)("Limit the number of terms you want to show. To show all terms, use 0 (zero)."), ...props }); } exports.default = MaxTermsControl; //# sourceMappingURL=max-terms-control.cjs.map