mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 19:19:57 +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);
|
||||
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;
|
||||
align?: 'left' | 'right' | 'center';
|
||||
filters?: ColumnFilterItem[];
|
||||
|
Loading…
Reference in New Issue
Block a user