2021-11-10 17:49:53 +00:00
|
|
|
// @flow
|
|
|
|
|
|
|
|
import type { Dispatch } from 'redux';
|
|
|
|
|
2022-11-08 10:24:32 +00:00
|
|
|
import { IconConnection } from '../../base/icons';
|
2021-11-10 17:49:53 +00:00
|
|
|
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';
|
2022-11-08 10:24:32 +00:00
|
|
|
icon = IconConnection;
|
2021-11-10 17:49:53 +00:00
|
|
|
label = 'toolbar.speakerStats';
|
|
|
|
tooltip = 'toolbar.speakerStats';
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AbstractSpeakerStatsButton;
|