UNPKG

@progress/kendo-react-grid

Version:

React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package

28 lines (27 loc) 963 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use client"; import * as l from "react"; import { useTableKeyboardNavigation as s } from "@progress/kendo-react-data-tools"; import { GridContext as c } from "../../utils/GridContext.mjs"; import { cloneReactElement as n } from "../../utils/index.mjs"; const d = (t) => { const e = l.useContext(c), o = s(t.id), r = e.getCellPositionStyle(t.column), i = { ...o, style: { ...r } }; return t.isCustom && (e.isClient || t.isClient) ? n(t.children, { tdProps: { ...t.tdProps, ...i }, ...o }) : n(t.children, { ...i }); }; export { d as FooterCellContainer };