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 830B

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