@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
34 lines (33 loc) • 948 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
const u = ({
buttonCount: e = 10,
info: a = !0,
type: i = "numeric",
pageSizes: t = void 0,
previousNext: r = !0,
responsive: o = void 0,
adaptive: v = void 0,
adaptiveTitle: d = void 0,
navigatable: l = void 0,
pageSizeValue: s = void 0
}) => ({
buttonCount: e,
info: a,
pageSizes: t === !0 ? [5, 10, 20] : t || void 0,
previousNext: r,
responsive: o !== !1,
adaptive: v === !0,
adaptiveTitle: d || "Items per page",
navigatable: l !== !1,
type: i,
pageSizeValue: s
}), n = (e) => u(e === !0 ? {} : e);
export {
n as normalize
};