From cd7a04a069e45d9ff2bdea6667be8cfdc288537b Mon Sep 17 00:00:00 2001 From: ChrisF Date: Sun, 26 Nov 2017 20:53:55 -0600 Subject: [PATCH] change children prop of TableProps to React.ReactNode (#8317) * make children prop of RadioGroupProps optional * change children prop of TableProps to React.ReactNode --- components/table/interface.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/table/interface.tsx b/components/table/interface.tsx index d8f38800f8..cb481c00c2 100644 --- a/components/table/interface.tsx +++ b/components/table/interface.tsx @@ -104,7 +104,7 @@ export interface TableProps { bodyStyle?: React.CSSProperties; className?: string; style?: React.CSSProperties; - children?: React.ReactChildren; + children?: React.ReactNode; } export interface TableStateFilters { @@ -170,6 +170,6 @@ export interface FilterMenuProps { export interface FilterMenuState { selectedKeys: string[]; - keyPathOfSelectedItem: {[key: string]: string}; + keyPathOfSelectedItem: { [key: string]: string }; visible?: boolean; }