選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

AbstractSpeakerStatsButton.tsx 759B

1234567891011121314151617181920212223242526
  1. import { IStore } from '../../app/types';
  2. import { IconConnection } from '../../base/icons/svg';
  3. // eslint-disable-next-line lines-around-comment
  4. // @ts-ignore
  5. import { AbstractButton, type AbstractButtonProps } from '../../base/toolbox/components';
  6. type Props = AbstractButtonProps & {
  7. /**
  8. * True if the navigation bar should be visible.
  9. */
  10. dispatch: IStore['dispatch'];
  11. };
  12. /**
  13. * Implementation of a button for opening speaker stats dialog.
  14. */
  15. class AbstractSpeakerStatsButton extends AbstractButton<Props, any, any> {
  16. accessibilityLabel = 'toolbar.accessibilityLabel.speakerStats';
  17. icon = IconConnection;
  18. label = 'toolbar.speakerStats';
  19. tooltip = 'toolbar.speakerStats';
  20. }
  21. export default AbstractSpeakerStatsButton;