Browse Source

fix(table) filterSearch TypeScript declaration (#34671)

* fix: types declaration

* fix(table): filterSearch TypeScript declaration
pull/34675/head
huangkairan 3 years ago
committed by GitHub
parent
commit
d0be21ed8f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/table/interface.tsx

2
components/table/interface.tsx

@ -113,7 +113,7 @@ export interface ColumnType<RecordType> extends RcColumnType<RecordType> {
defaultFilteredValue?: FilterValue | null;
filterIcon?: React.ReactNode | ((filtered: boolean) => React.ReactNode);
filterMode?: 'menu' | 'tree';
filterSearch?: boolean;
filterSearch?: FilterSearchType;
onFilter?: (value: string | number | boolean, record: RecordType) => boolean;
filterDropdownVisible?: boolean;
onFilterDropdownVisibleChange?: (visible: boolean) => void;

Loading…
Cancel
Save