您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

RaisedHandIndicator.js 772B

123456789101112131415161718192021222324252627282930313233
  1. // @flow
  2. import React from 'react';
  3. import { BaseIndicator } from '../../../base/react';
  4. import { connect } from '../../../base/redux';
  5. import AbstractRaisedHandIndicator, {
  6. type Props,
  7. _mapStateToProps
  8. } from '../AbstractRaisedHandIndicator';
  9. /**
  10. * Thumbnail badge showing that the participant would like to speak.
  11. *
  12. * @extends Component
  13. */
  14. class RaisedHandIndicator extends AbstractRaisedHandIndicator<Props> {
  15. /**
  16. * Renders the platform specific indicator element.
  17. *
  18. * @returns {React$Element<*>}
  19. */
  20. _renderIndicator() {
  21. return (
  22. <BaseIndicator
  23. highlight = { true }
  24. icon = 'raised-hand' />
  25. );
  26. }
  27. }
  28. export default connect(_mapStateToProps)(RaisedHandIndicator);