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.

ModeratorIndicator.js 647B

123456789101112131415161718192021222324252627
  1. import React, { Component } from 'react';
  2. import BaseIndicator from './BaseIndicator';
  3. /**
  4. * React {@code Component} for showing a moderator icon with a tooltip.
  5. *
  6. * @extends Component
  7. */
  8. class ModeratorIndicator extends Component {
  9. /**
  10. * Implements React's {@link Component#render()}.
  11. *
  12. * @inheritdoc
  13. * @returns {ReactElement}
  14. */
  15. render() {
  16. return (
  17. <BaseIndicator
  18. className = 'focusindicator toolbar-icon right'
  19. iconClassName = 'icon-star'
  20. tooltipKey = 'videothumbnail.moderator' />
  21. );
  22. }
  23. }
  24. export default ModeratorIndicator;