/**
* 包装 Table 获取三色色阶支持的组件
*
* ## 用法:
*
*
*
*
* ## 注意:
* - 子组件必须是 antd 的 Table 组件
*/
import * as React from 'react';
import { TableProps } from 'antd/es/table';
interface DataItem {
[K: string]: any;
}
interface Props {
children: React.ReactElement>;
/**
* dataIndex 的数组,匹配时则不给相应列的所有 Cell 设置背景色
*/
ignoreColumns?: string[];
/**
* 设置 Cell 背景色的透明度
*/
opacity?: number;
/**
* 传入每个单元格的数据,如果返回 true,则不着色该单元格
* 但该单元格如果有合法的数据,依然会用于计算色阶
*/
ignoreCell?(cellData: any, row: any): boolean;
}
declare const ColorGradient: (props: Props) => React.ReactElement> | null;
export default ColorGradient;