UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

6 lines (5 loc) 572 B
import { ListOptionsOptionType } from '../types/listOptions'; export declare const isSelected: (option: ListOptionsOptionType, selectedValue?: string | number | (string | number)[] | null, isMultiSelect?: boolean, caseSensitive?: boolean) => boolean; export declare const getOptionVariant: (highlighted: boolean | undefined, hightlightedOptionVariant: string | undefined, optionVariant: string) => string; export declare const keyUpMove: (prevFocus: number) => number; export declare const keyDownMove: (options: ListOptionsOptionType[]) => (prevFocus: number) => number;