UNPKG

react-admin-kit

Version:

A react based UI components for admin system

24 lines (23 loc) 824 B
import type { SelectProps } from 'antd'; import { Component } from 'react'; export interface BaseSelectProps extends SelectProps<any> { type: string; loadFunction: (params?: any) => Promise<any>; queryParams?: Record<string, any>; noCache?: boolean; onLoad?: (options: any, total?: number) => void; searchDebounceValue?: number; } declare class BaseSelect extends Component<BaseSelectProps, any> { constructor(props: any); reRender: (e: any) => void; componentDidMount(): void; componentWillUnmount(): void; componentDidUpdate(prevProps: any): void; isNoCache: () => boolean | undefined; handleLoadData: () => void; loadDataForCache: () => void; loadDataWithoutCache: () => void; render(): import("react/jsx-runtime").JSX.Element; } export default BaseSelect;