// @flow
import { type ColorPaletteColorNameKey } from '../../../../mixins/branding';
import { type TranslatedContent } from '../../../../types';

export type BackgroundSelector = 'active' | 'hover';

export type ContextMenuListItemProps<ItemType> = {|
  item: ItemType,
  onSelect: (item: ItemType) => void,
  closeMenu: () => void,
  colorName?: ColorPaletteColorNameKey,
  danger?: boolean,
  children: TranslatedContent,
|};
