Update interface.tsx

This commit is contained in:
Wang yb 2018-12-12 09:49:09 +08:00 committed by 偏右
parent 1f730faf2d
commit f8fbb33c73

View File

@ -19,7 +19,7 @@ export interface ColumnProps<T> {
},
) => React.ReactNode);
key?: React.Key;
dataIndex?: string;
dataIndex?: keyof T;
render?: (text: any, record: T, index: number) => React.ReactNode;
align?: 'left' | 'right' | 'center';
filters?: ColumnFilterItem[];