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

RaisedHandIndicator.js 966B

1234567891011121314151617181920212223242526272829303132333435
  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 BaseTheme from '../../../base/ui/components/BaseTheme.native';
  7. import AbstractRaisedHandIndicator, {
  8. type Props,
  9. _mapStateToProps
  10. } from '../AbstractRaisedHandIndicator';
  11. /**
  12. * Thumbnail badge showing that the participant would like to speak.
  13. *
  14. * @extends Component
  15. */
  16. class RaisedHandIndicator extends AbstractRaisedHandIndicator<Props> {
  17. /**
  18. * Renders the platform specific indicator element.
  19. *
  20. * @returns {React$Element<*>}
  21. */
  22. _renderIndicator() {
  23. return (
  24. <BaseIndicator
  25. backgroundColor = { BaseTheme.palette.warning01 }
  26. highlight = { true }
  27. icon = { IconRaisedHand } />
  28. );
  29. }
  30. }
  31. export default connect(_mapStateToProps)(RaisedHandIndicator);