mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
chroe: add a note comment about table's dataIndex
This commit is contained in:
parent
96e1d770ec
commit
405bc9783b
@ -19,7 +19,7 @@ export interface ColumnProps<T> {
|
|||||||
},
|
},
|
||||||
) => React.ReactNode);
|
) => React.ReactNode);
|
||||||
key?: React.Key;
|
key?: React.Key;
|
||||||
dataIndex?: string;
|
dataIndex?: string; // Note: We can not use generic type here, since we need to support nested key, see #9393
|
||||||
render?: (text: any, record: T, index: number) => React.ReactNode;
|
render?: (text: any, record: T, index: number) => React.ReactNode;
|
||||||
align?: 'left' | 'right' | 'center';
|
align?: 'left' | 'right' | 'center';
|
||||||
filters?: ColumnFilterItem[];
|
filters?: ColumnFilterItem[];
|
||||||
|
Loading…
Reference in New Issue
Block a user