UNPKG

siegel

Version:

Web application development ecosystem

10 lines (9 loc) 467 B
import React from 'react'; import type { SelectedOptionIndex } from '../../_internals/handle_keyboard_selection'; import type { MergedProps, Store, SelectedOption } from '../types'; declare function getOptions(props: MergedProps, onSelect: MergedProps['onChange'], arrowSelectIndex: Store[0]['arrowSelectIndex']): { selectedOption: SelectedOption; selectedOptionIndex: SelectedOptionIndex; optionsElement: React.JSX.Element; }; export default getOptions;