UNPKG

table-reuse

Version:

A reusable table built on top of Antd ProTable

12 lines (11 loc) 486 B
import type { FormInstance } from "antd"; import type { FilterConfig, FilterData } from "../../dataTypes"; type SearchFormProps = { form: FormInstance; filters?: FilterData[]; onSearch: (values: any) => Promise<void> | void; onReset?: () => void; searchConfig?: FilterConfig["submitRenderer"]; }; export declare function SearchForm({ form, filters, onSearch, onReset, searchConfig, }: SearchFormProps): import("react/jsx-runtime").JSX.Element; export {};