UNPKG

gestalt

Version:

A set of React UI components which enforce Pinterest's design language

22 lines (21 loc) 630 B
export type ComboBoxItemType = { label: string; subtext?: string; value: string; }; type Props = { id: string; index: number; isHovered: boolean; isSelected: boolean; label: string; onSelect?: (arg1: { item: ComboBoxItemType; event: React.ChangeEvent<HTMLInputElement>; }) => void; setHoveredItemIndex: (arg1: number) => void; subtext?: string; value: string; }; declare const ComboBoxItemWithForwardRef: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLElement | null | undefined>>; export default ComboBoxItemWithForwardRef;