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

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import React, { Component } from 'react';
  2. import BaseIndicator from './BaseIndicator';
  3. /**
  4. * Thumbnail badge showing that the participant would like to speak.
  5. *
  6. * @extends Component
  7. */
  8. class RaisedHandIndicator extends Component {
  9. /**
  10. * {@code RaisedHandIndicator} component's property types.
  11. *
  12. * @static
  13. */
  14. static propTypes = {
  15. /**
  16. * The font-size for the icon.
  17. *
  18. * @type {number}
  19. */
  20. iconSize: React.PropTypes.number
  21. };
  22. /**
  23. * Implements React's {@link Component#render()}.
  24. *
  25. * @inheritdoc
  26. */
  27. render() {
  28. return (
  29. <BaseIndicator
  30. className = 'raisehandindicator indicator show-inline'
  31. iconClassName = 'icon-raised-hand indicatoricon'
  32. iconSize = { `${this.props.iconSize}px` }
  33. tooltipKey = 'raisedHand' />
  34. );
  35. }
  36. }
  37. export default RaisedHandIndicator;