mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
Update video thumbnail design Update design of indicators In filmstrip view move Screen Sharing indicator to the top Removed dominant speaker indicator Use ContextMenu component for the connection stats popover Combine Remove video menu and Meeting participant context menu into one component Moved some styles from SCSS to JSS Fix mobile avatars too big Fix mobile horizontal scroll Created button for Send to breakout room action
33 lines
746 B
JavaScript
33 lines
746 B
JavaScript
/* @flow */
|
|
|
|
import React from 'react';
|
|
|
|
import { IconCrown } from '../../../base/icons';
|
|
import { BaseIndicator } from '../../../base/react';
|
|
|
|
/**
|
|
* The type of the React {@code Component} props of {@link ModeratorIndicator}.
|
|
*/
|
|
type Props = {
|
|
|
|
/**
|
|
* From which side of the indicator the tooltip should appear from.
|
|
*/
|
|
tooltipPosition: string
|
|
};
|
|
|
|
/**
|
|
* React {@code Component} for showing a moderator icon with a tooltip.
|
|
*
|
|
* @returns {Component}
|
|
*/
|
|
const ModeratorIndicator = ({ tooltipPosition }: Props) => (
|
|
<BaseIndicator
|
|
icon = { IconCrown }
|
|
iconSize = { 15 }
|
|
tooltipKey = 'videothumbnail.moderator'
|
|
tooltipPosition = { tooltipPosition } />
|
|
);
|
|
|
|
export default ModeratorIndicator;
|