// @flow
import { type Element } from 'react';
import { MenuItem } from '../menu-item';
import { type SpaceProps } from '../../../../mixins/spacing';

export type MenuItemListProps = {|
  ...SpaceProps,
  children: Element<typeof MenuItem> | Element<typeof MenuItem>[],
  onToggle: () => void,
  flatTopCorners: boolean,
  direction: 'left' | 'right',
|};
