| 123456789101112131415161718192021222324252627282930313233343536373839404142 | 
							- // @flow
 - 
 - import { connect } from 'react-redux';
 - 
 - import { openDialog } from '../../../base/dialog';
 - import { translate } from '../../../base/i18n';
 - import { AbstractButton } from '../../../base/toolbox';
 - import type { AbstractButtonProps } from '../../../base/toolbox';
 - 
 - import OverflowMenu from './OverflowMenu';
 - 
 - /**
 -  * The type of the React {@code Component} props of {@link OverflowMenuButton}.
 -  */
 - type Props = AbstractButtonProps & {
 - 
 -     /**
 -      * The redux {@code dispatch} function.
 -      */
 -     dispatch: Function
 - };
 - 
 - /**
 -  * An implementation of a button for showing the {@code OverflowMenu}.
 -  */
 - class OverflowMenuButton extends AbstractButton<Props, *> {
 -     accessibilityLabel = 'toolbar.accessibilityLabel.moreActions';
 -     iconName = 'icon-thumb-menu';
 -     label = 'toolbar.moreActions';
 - 
 -     /**
 -      * Handles clicking / pressing this {@code OverflowMenuButton}.
 -      *
 -      * @protected
 -      * @returns {void}
 -      */
 -     _handleClick() {
 -         this.props.dispatch(openDialog(OverflowMenu));
 -     }
 - }
 - 
 - export default translate(connect()(OverflowMenuButton));
 
 
  |