Revert "Update interface.tsx"

This reverts commit f8fbb33c73.
This commit is contained in:
Wei Zhu 2018-12-25 16:27:36 +08:00
parent a297b90cfa
commit 48956d54fc

View File

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