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

VideoMutedIndicator.js 939B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* @flow */
  2. import React, { Component } from 'react';
  3. import { BaseIndicator } from '../../../base/react';
  4. /**
  5. * The type of the React {@code Component} props of {@link VideoMutedIndicator}.
  6. */
  7. type Props = {
  8. /**
  9. * From which side of the indicator the tooltip should appear from.
  10. */
  11. tooltipPosition: string
  12. };
  13. /**
  14. * React {@code Component} for showing a video muted icon with a tooltip.
  15. *
  16. * @extends Component
  17. */
  18. class VideoMutedIndicator extends Component<Props> {
  19. /**
  20. * Implements React's {@link Component#render()}.
  21. *
  22. * @inheritdoc
  23. */
  24. render() {
  25. return (
  26. <BaseIndicator
  27. className = 'videoMuted toolbar-icon'
  28. iconClassName = 'icon-camera-disabled'
  29. tooltipKey = 'videothumbnail.videomute'
  30. tooltipPosition = { this.props.tooltipPosition } />
  31. );
  32. }
  33. }
  34. export default VideoMutedIndicator;