import { Accessibility, DropdownSelectedItemBehaviorProps } from '@fluentui/accessibility'; import { ComponentEventHandler, ShorthandValue, ComponentKeyboardEventHandler, FluentComponentStaticProps } from '../../types'; import { UIComponentProps } from '../../utils/commonPropInterfaces'; import { ImageProps } from '../Image/Image'; import { BoxProps } from '../Box/Box'; import { ComponentWithAs } from '@fluentui/react-bindings'; export interface DropdownSelectedItemSlotClassNames { header: string; icon: string; image: string; } export interface DropdownSelectedItemProps extends UIComponentProps { /** * Accessibility behavior if overridden by the user. */ accessibility?: Accessibility; /** A selected item can be active. */ active?: boolean; /** Header of the selected item. */ header?: ShorthandValue; /** Icon of the selected item. */ icon?: ShorthandValue; /** Image of the selected item. */ image?: ShorthandValue; /** * Called on selected item click. * * @param event - React's original SyntheticEvent. * @param data - All props and proposed value. */ onClick?: ComponentEventHandler; /** * Called on selected item key down. * * @param event - React's original SyntheticEvent. * @param data - All props and proposed value. */ onKeyDown?: ComponentKeyboardEventHandler; /** * Called when item is removed from the selection list. * * @param event - React's original SyntheticEvent. * @param data - All props and proposed value. */ onRemove?: ComponentEventHandler; } export declare const dropdownSelectedItemClassName = "ui-dropdown__selecteditem"; export declare const dropdownSelectedItemSlotClassNames: DropdownSelectedItemSlotClassNames; export declare type DropdownSelectedItemStylesProps = { hasImage: boolean; }; /** * A DropdownSelectedItem represents a selected item of 'multiple-selection' Dropdown. */ export declare const DropdownSelectedItem: ComponentWithAs<'span', DropdownSelectedItemProps> & FluentComponentStaticProps;