UNPKG

react-admin-kit

Version:

A react based UI components for admin system

28 lines (27 loc) 951 B
import type { SelectProps } from 'antd'; import { Component } from 'react'; export interface BaseSelectProps extends SelectProps<any> { type: string; loadFunction: (params?: any) => Promise<any>; valueKey?: string; labelKey?: string; renderLabel?: (node: any) => string; 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; handleOnChange: (val: any) => void; render(): import("react/jsx-runtime").JSX.Element; } export default BaseSelect;