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

Loading…
Cancel
Save