UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

33 lines (32 loc) 1.04 kB
import { NonCancelableEventHandler } from '../../internal/events'; import { SelectProps } from '../interfaces'; import { OptionDefinition, OptionGroup } from '../../internal/components/option/interfaces'; import { DropdownStatusProps } from '../../internal/components/dropdown-status'; interface UseLoadItems { (inputProps: { onLoadItems: SelectProps['onLoadItems']; options: ReadonlyArray<OptionDefinition | OptionGroup>; statusType: DropdownStatusProps.StatusType; }): { fireLoadItems: FireLoadItems; fireDelayedInput: FireDelayedInput; handleLoadMore: NonCancelableEventHandler; handleRecoveryClick: NonCancelableEventHandler; }; } export interface FireLoadItems { (inputProps: { firstPage: boolean; samePage: boolean; filteringText?: string; }): void; } export interface FireDelayedInput { (inputProps: { detail: { value: string; }; }): void; } export declare const useLoadItems: UseLoadItems; export {};