@wordpress/block-library
Version:
Block library for the WordPress editor.
20 lines (19 loc) • 544 B
JavaScript
import { jsx } from "react/jsx-runtime";
import { __ } from "@wordpress/i18n";
import { ToggleControl } from "@wordpress/components";
function QueryPaginationLabelControl({ value, onChange }) {
return /* @__PURE__ */ jsx(
ToggleControl,
{
__nextHasNoMarginBottom: true,
label: __("Show label text"),
help: __('Make label text visible, e.g. "Next Page".'),
onChange,
checked: value === true
}
);
}
export {
QueryPaginationLabelControl
};
//# sourceMappingURL=query-pagination-label-control.js.map