UNPKG

@fluentui/react

Version:

Reusable React components for building web experiences.

20 lines (19 loc) 779 B
import * as React from 'react'; import type { IComboBoxProps, IComboBox, IComboBoxOption } from './ComboBox.types'; import type { JSXElement } from '@fluentui/utilities'; export declare class VirtualizedComboBox extends React.Component<IComboBoxProps, {}> implements IComboBox { /** The combo box element */ private _comboBox; /** The virtualized list element */ private _list; constructor(props: IComboBoxProps); /** * All selected options */ get selectedOptions(): IComboBoxOption[]; dismissMenu(): void; focus(shouldOpenOnFocus?: boolean, useFocusAsync?: boolean): boolean; render(): JSXElement; protected _onRenderList: (props: IComboBoxProps) => JSXElement; protected _onScrollToItem: (itemIndex: number) => void; }