jiti-meet/react/features/participants-pane/components/web/RaisedHandIndicator.js

32 lines
803 B
JavaScript
Raw Normal View History

// @flow
import { makeStyles } from '@material-ui/styles';
import React from 'react';
import { Icon, IconRaisedHandHollow } from '../../../base/icons';
import BaseTheme from '../../../base/ui/components/BaseTheme';
const useStyles = makeStyles(theme => {
return {
indicator: {
backgroundColor: theme.palette.warning02,
borderRadius: `${theme.shape.borderRadius / 2}px`,
height: '24px',
width: '24px'
}
};
});
export const RaisedHandIndicator = () => {
const styles = useStyles();
return (
<div className = { styles.indicator }>
<Icon
color = { BaseTheme.palette.uiBackground }
size = { 16 }
src = { IconRaisedHandHollow } />
</div>
);
};