@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
11 lines (10 loc) • 444 B
TypeScript
import { ComponentRef, RefObject } from 'react';
import { Option } from '../Autocomplete.types';
type UseNavigationListProps = {
ulRef: RefObject<ComponentRef<'ul'> | null>;
inputRef: RefObject<ComponentRef<'input'> | null>;
wrapperRef: RefObject<ComponentRef<'div'> | null>;
options: Option[];
};
export declare const useNavigationUlList: ({ ulRef, inputRef, wrapperRef, options, }: UseNavigationListProps) => void;
export {};