UNPKG

@project44-manifest/react

Version:

Manifest Design System react components

18 lines 862 B
import * as React from 'react'; import type { ListState } from '@react-stately/list'; import type { AriaListBoxProps } from '@react-types/listbox'; import { As, Options, Props } from '../../system'; import type { StyleProps } from '../../types'; export declare type ListBoxBaseElement = 'div'; export interface ListBoxBaseOptions<T extends As = ListBoxBaseElement> extends Options<T>, AriaListBoxProps<object>, StyleProps { /** * The collection list state. */ state: ListState<object>; loading?: boolean; loadingText?: string; noResultsChildren?: React.ReactElement | React.ReactElement[]; } export declare type ListBoxBaseProps<T extends As = ListBoxBaseElement> = Props<ListBoxBaseOptions<T>>; export declare const ListBoxBase: import("../../system").Component<ListBoxBaseOptions<"div">>; //# sourceMappingURL=ListBoxBase.d.ts.map