import { ComponentWithAs } from '@fluentui/react-bindings'; import { ShorthandValue, ComponentEventHandler, FluentComponentStaticProps } from '../../types'; import { UIComponentProps } from '../../utils/commonPropInterfaces'; import { ImageProps } from '../Image/Image'; import { BoxProps } from '../Box/Box'; export interface DropdownItemSlotClassNames { content: string; header: string; image: string; checkableIndicator: string; main: string; } export interface DropdownItemProps extends UIComponentProps { /** A dropdown item can be active. */ active?: boolean; /** Item's accessibility props. */ accessibilityItemProps?: any; /** Item's content. */ content?: ShorthandValue; /** Item can show check indicator if selected. */ checkable?: boolean; /** A slot for a checkable indicator. */ checkableIndicator?: ShorthandValue; /** A dropdown item can show that it cannot be interacted with. */ disabled?: boolean; /** Item's header. */ header?: ShorthandValue; /** Item's image. */ image?: ShorthandValue; /** Indicated whether the item has been set active by keyboard. */ isFromKeyboard?: boolean; /** * Called on dropdown item click. * * @param event - React's original SyntheticEvent. * @param data - All props and proposed value. */ onClick?: ComponentEventHandler; /** A dropdown item can be selected if single selection Dropdown is used. */ selected?: boolean; } export declare const dropdownItemClassName = "ui-dropdown__item"; export declare const dropdownItemSlotClassNames: DropdownItemSlotClassNames; /** * A DropdownItem represents an option of Dropdown list. * Displays an item with optional rich media metadata. */ export declare const DropdownItem: ComponentWithAs<'li', DropdownItemProps> & FluentComponentStaticProps;