UNPKG

antd-table-editable-af

Version:
13 lines (12 loc) 698 B
import { ColumnType } from 'antd/lib/table'; import React from 'react'; export declare function memoEqual<T extends Record<string, any>>(objA: T, objB: T, options?: { omit?: (keyof T)[]; }): boolean; export declare function getField(key?: ColumnType<any>['key'], dataIndex?: ColumnType<any>['dataIndex']): string; /** * antd 自身在省略和阴影存在时会加一层 ant-table-cell-content 来处理省略和滚动的阴影冲突的问题 * 这里也进行处理一下 * https://github.com/react-component/table/blob/master/src/Cell/index.tsx#L233 */ export declare function getReadCellContent(children: React.ReactNode[], content: React.ReactNode, prefixCls: string): React.ReactNode;