Fixed typing issue in Table > filterDropdown (#19701)

This commit is contained in:
Dean van Niekerk 2019-11-13 01:51:53 +02:00 committed by 只捱宅
parent 41d1661627
commit af2dd379c2

View File

@ -23,7 +23,7 @@ export interface FilterDropdownProps {
setSelectedKeys?: (selectedKeys: string[]) => void;
selectedKeys?: React.Key[];
confirm?: () => void;
clearFilters?: (selectedKeys: string[]) => void;
clearFilters?: () => void;
filters?: ColumnFilterItem[];
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
visible?: boolean;
@ -53,7 +53,7 @@ export interface ColumnProps<T> {
colSpan?: number;
width?: string | number;
className?: string;
fixed?: boolean | (typeof ColumnFixedPlacements)[number];
fixed?: boolean | typeof ColumnFixedPlacements[number];
filterIcon?: React.ReactNode | ((filtered: boolean) => React.ReactNode);
filteredValue?: any[];
sortOrder?: SortOrder | boolean;