2020-02-20 14:52:41 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import { translate } from '../../../base/i18n';
|
|
|
|
import { IconMenu } from '../../../base/icons';
|
2020-07-24 12:14:33 +00:00
|
|
|
import { AbstractButton, type AbstractButtonProps } from '../../../base/toolbox/components';
|
2020-02-20 14:52:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
type Props = AbstractButtonProps;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* An implementation of a button to show more menu options.
|
|
|
|
*/
|
|
|
|
class MoreOptionsButton extends AbstractButton<Props, any> {
|
|
|
|
accessibilityLabel = 'toolbar.accessibilityLabel.moreOptions';
|
|
|
|
icon = IconMenu;
|
|
|
|
label = 'toolbar.moreOptions';
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export default translate(MoreOptionsButton);
|