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.
14 lines (13 loc) • 431 B
TypeScript
import { Component } from 'react';
import { OptionType } from './types';
interface ComboBoxOptionProps<T extends OptionType> {
option: T;
isSelected: boolean;
isHighlighted: boolean;
onClick: (option: T) => void;
onMouseEnter: () => void;
}
export default class ComboBoxOption<T extends OptionType> extends Component<ComboBoxOptionProps<T>> {
render(): import("react/jsx-runtime").JSX.Element;
}
export {};