UNPKG

next-gen-ui

Version:

Next Gen Ui is a home for front-end & UI/Ux developers. We provide all the necessary components required to build a scalable front-end application which suits the user experience in a unique way.

13 lines 566 B
import React from 'react'; import { SelectOption, SelectChangeHandler } from './select'; interface Refs { headerRef: React.MutableRefObject<HTMLElement | null>; popoverRef: React.MutableRefObject<HTMLElement | null>; } export declare const useSelectLogic: (onChange: SelectChangeHandler | undefined, { headerRef, popoverRef }: Refs, disabled: boolean) => { onOptionClick: (option: SelectOption) => void; optionsListVisible: boolean; setOptionsListVisible: (isVisible: boolean) => void; }; export {}; //# sourceMappingURL=use-select-logic.d.ts.map