UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

30 lines (29 loc) 687 B
export interface ISelectableOption { /** * Arbitrary string associated with this option. */ key: string | number; /** * Text to render for this option */ text: string; /** * Text to render for this option */ itemType?: SelectableOptionMenuItemType; /** * Index for this option */ index?: number; /** * The aria label for the dropdown option. If not present, the `text` will be used. */ ariaLabel?: string; /** If option is selected. */ selected?: boolean; } export declare enum SelectableOptionMenuItemType { Normal = 0, Divider = 1, Header = 2, }