29 lines
735 B
JavaScript
29 lines
735 B
JavaScript
// @flow
|
|
|
|
import type { Dispatch } from 'redux';
|
|
|
|
import { IconConnection } from '../../base/icons';
|
|
import { AbstractButton } from '../../base/toolbox/components';
|
|
import type { AbstractButtonProps } from '../../base/toolbox/components';
|
|
|
|
type Props = AbstractButtonProps & {
|
|
|
|
/**
|
|
* True if the navigation bar should be visible.
|
|
*/
|
|
dispatch: Dispatch<any>
|
|
};
|
|
|
|
|
|
/**
|
|
* Implementation of a button for opening speaker stats dialog.
|
|
*/
|
|
class AbstractSpeakerStatsButton extends AbstractButton<Props, *> {
|
|
accessibilityLabel = 'toolbar.accessibilityLabel.speakerStats';
|
|
icon = IconConnection;
|
|
label = 'toolbar.speakerStats';
|
|
tooltip = 'toolbar.speakerStats';
|
|
}
|
|
|
|
export default AbstractSpeakerStatsButton;
|