import * as React from 'react'; import { ITheme, IStyle } from '@uifabric/styling'; export interface IFloatingSuggestionItemProps { item: T; isSelected: boolean; onClick?: (ev: React.MouseEvent, item: IFloatingSuggestionItemProps) => void; onRemoveItem?: (ev: React.MouseEvent, item: IFloatingSuggestionItemProps) => void; displayText?: string; className?: string; /** * Takes precedence over showSuggestionRemoveButton */ showRemoveButton?: boolean; ariaLabel?: string; removeButtonAriaLabel?: string; key?: string; id?: string; theme?: ITheme; onRenderSuggestion?: (renderProps: IFloatingSuggestionOnRenderItemProps) => JSX.Element; } export declare type IFloatingSuggestionItem = Omit, 'onRenderSuggestion' | 'onClick' | 'onRemoveItem' | 'theme'>; export declare type IFloatingSuggestionOnClickItemProps = Pick, 'item' | 'isSelected' | 'key' | 'id'>; export declare type IFloatingSuggestionOnRenderItemProps = Omit, 'onRenderSuggestion'>; export interface IFloatingSuggestionItemStylesProps { isSelected?: boolean; } export interface IFloatingSuggestionItemStyles { root: IStyle; itemButton: IStyle; closeButton: IStyle; displayText: IStyle; }