mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
change children prop of TableProps to React.ReactNode (#8317)
* make children prop of RadioGroupProps optional * change children prop of TableProps to React.ReactNode
This commit is contained in:
parent
1662710acd
commit
cd7a04a069
@ -104,7 +104,7 @@ export interface TableProps<T> {
|
|||||||
bodyStyle?: React.CSSProperties;
|
bodyStyle?: React.CSSProperties;
|
||||||
className?: string;
|
className?: string;
|
||||||
style?: React.CSSProperties;
|
style?: React.CSSProperties;
|
||||||
children?: React.ReactChildren;
|
children?: React.ReactNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface TableStateFilters {
|
export interface TableStateFilters {
|
||||||
@ -170,6 +170,6 @@ export interface FilterMenuProps<T> {
|
|||||||
|
|
||||||
export interface FilterMenuState {
|
export interface FilterMenuState {
|
||||||
selectedKeys: string[];
|
selectedKeys: string[];
|
||||||
keyPathOfSelectedItem: {[key: string]: string};
|
keyPathOfSelectedItem: { [key: string]: string };
|
||||||
visible?: boolean;
|
visible?: boolean;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user