tdesign-react
Version:
TDesign Component for React
30 lines (29 loc) • 1.09 kB
TypeScript
import React from 'react';
import { PopupProps } from '../popup';
import { PrimaryTableCol, FilterValue, TableRowData, TdPrimaryTableProps } from './type';
export interface TableFilterControllerProps {
filterIcon: TdPrimaryTableProps['filterIcon'];
tFilterValue: FilterValue;
innerFilterValue: FilterValue;
tableFilterClasses: {
filterable: string;
popup: string;
icon: string;
popupContent: string;
result: string;
inner: string;
bottomButtons: string;
contentInner: string;
iconWrap: string;
};
isFocusClass: string;
column: PrimaryTableCol;
colIndex: number;
primaryTableElement: HTMLElement;
popupProps: PopupProps;
onVisibleChange: (val: boolean) => void;
onReset: (column: PrimaryTableCol<TableRowData>) => void;
onConfirm: (column: PrimaryTableCol<TableRowData>) => void;
onInnerFilterChange: (val: any, column: PrimaryTableCol<TableRowData>) => void;
}
export default function TableFilterController(props: TableFilterControllerProps): React.JSX.Element;