UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

27 lines (26 loc) 802 B
/// <reference types="react" /> import type { IColumnType } from '@qn-pandora/pandora-component/es/components/Table'; import { ThresholdColorScope, ThresholdType } from '../../../constants/table-style'; import { IColorSplitter } from '../../../constants'; export interface IColumnProps<T> extends IColumnType<T> { title: React.ReactNode | string; key: string; dataIndex: string; className?: string; resizable?: boolean; children?: Array<IColumnProps<T>>; thresholdType: ThresholdType; thresholdColorScope: ThresholdColorScope; isNumeric?: boolean; splitter?: IColorSplitter; showColor: boolean; } export interface IFilterValue { key: string; value: any[]; } export declare enum Align { Left = "left", Right = "right", Center = "center" }