@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
21 lines (20 loc) • 1.05 kB
JavaScript
/**
* @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 o from "react";
import { GridEditCellEditor as i } from "./GridEditCellEditor.mjs";
import { getEditCellTdProps as m, getCustomCell as p } from "./utils.mjs";
import { useLegacyCellProps as d } from "../hooks.mjs";
import { useEditCellClientTdProps as C } from "./useEditCellClientTdProps.mjs";
const f = (n) => {
const { cellProps: t } = n, { tdProps: e } = m(t), r = C(t), c = d(t), l = /* @__PURE__ */ o.createElement(i, { cellProps: t }), s = p(t);
return s ? /* @__PURE__ */ o.createElement(s, { ...t, ...c, tdProps: { ...e, ...r } }, l) : e ? /* @__PURE__ */ o.createElement("td", { ...e, ...r }, l) : null;
};
export {
f as GridEditCell
};