You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RaisedHandIndicator.js 765B

12345678910111213141516171819202122232425262728293031323334
  1. // @flow
  2. import React from 'react';
  3. import { connect } from '../../../base/redux';
  4. import AbstractRaisedHandIndicator, {
  5. type Props,
  6. _mapStateToProps
  7. } from '../AbstractRaisedHandIndicator';
  8. import BaseIndicator from './BaseIndicator';
  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);