UNPKG

@progress/kendo-react-grid

Version:

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

20 lines (19 loc) 977 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use client"; import * as s from "react"; import { getPinCellTdProps as c, getCustomCell as i } from "./utils.mjs"; import { useGridPinCellClientTdProps as m } from "./useGridPinCellClientTdProps.mjs"; import { useLegacyCellProps as P } from "../hooks.mjs"; const a = (n) => { const { cellProps: e } = n, { tdProps: t, content: o } = c(e), { ...r } = m(e), p = P(e), l = i(e); return l ? /* @__PURE__ */ s.createElement(l, { ...e, ...p, tdProps: { ...t, ...r } }, o) : e.rowType !== "groupHeader" ? /* @__PURE__ */ s.createElement("td", { ...t, ...r }, o) : null; }; export { a as GridPinCell };