Browse Source

Fixed typing issue in Table > filterDropdown (#19701)

pull/19713/head
Dean van Niekerk 5 years ago
committed by 只捱宅
parent
commit
af2dd379c2
  1. 4
      components/table/interface.tsx

4
components/table/interface.tsx

@ -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;

Loading…
Cancel
Save