UNPKG

desmy-react

Version:

Introducing an easy-to-use, lightning-fast React.js component that streamlines your development process. Our solution prioritizes simplicity, speed, and optimization, making it a breeze to build projects in React.

18 lines (17 loc) 606 B
import { default as React, Component } from 'react'; import { OptionType } from './types'; interface ComboBoxListProps<T extends OptionType> { options: T[]; loading: boolean; selectedOptions: T[]; className?: string; highlightedIndex: number; onOptionClick: (option: T) => void; onScroll: (e: React.UIEvent<HTMLDivElement>) => void; onOptionHover: (index: number) => void; style?: React.CSSProperties; } export default class ComboBoxList<T extends OptionType> extends Component<ComboBoxListProps<T>> { render(): import("react/jsx-runtime").JSX.Element; } export {};