UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

26 lines (25 loc) 898 B
import * as React from 'react'; import { ITableTheme, ChartType } from '../../../../constants'; import { TableTextDisplay } from '../../../../constants/table-style'; import { IColumnProps } from '../constant'; export interface ITableRowProps<T> { columns: Array<IColumnProps<T>>; rowData: any; rowIndex: number; rowStyle?: (index: number) => React.CSSProperties; tableOption?: ITableTheme; chartType?: ChartType; level?: number; bordered?: boolean; textDisplayMode?: TableTextDisplay; handleCellResize: ({ size }: any, dataIndex?: string) => void; } export default class TableRow<T> extends React.Component<ITableRowProps<T>, {}> { get fixedIndexes(): { left: number[]; right: number[]; }; get color(): string | undefined; getRealColumnColor(columnColor: string, rowColor?: string): string; render(): React.JSX.Element; }