2021-04-21 13:48:05 +00:00
|
|
|
import React from 'react';
|
2022-09-13 07:36:00 +00:00
|
|
|
import { makeStyles } from 'tss-react/mui';
|
2021-04-21 13:48:05 +00:00
|
|
|
|
2022-08-25 11:35:19 +00:00
|
|
|
import Icon from '../../../base/icons/components/Icon';
|
2022-11-08 10:24:32 +00:00
|
|
|
import { IconRaiseHand } from '../../../base/icons/svg';
|
2021-04-21 13:48:05 +00:00
|
|
|
|
2022-11-15 07:50:22 +00:00
|
|
|
const useStyles = makeStyles()(theme => {
|
2021-10-22 13:23:52 +00:00
|
|
|
return {
|
|
|
|
indicator: {
|
2021-12-20 08:44:22 +00:00
|
|
|
backgroundColor: theme.palette.warning02,
|
2022-09-13 07:36:00 +00:00
|
|
|
borderRadius: `${Number(theme.shape.borderRadius) / 2}px`,
|
2021-10-22 13:23:52 +00:00
|
|
|
height: '24px',
|
|
|
|
width: '24px'
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2021-04-21 13:48:05 +00:00
|
|
|
|
2021-10-22 13:23:52 +00:00
|
|
|
export const RaisedHandIndicator = () => {
|
2022-09-13 07:36:00 +00:00
|
|
|
const { classes: styles, theme } = useStyles();
|
2021-10-22 13:23:52 +00:00
|
|
|
|
|
|
|
return (
|
|
|
|
<div className = { styles.indicator }>
|
|
|
|
<Icon
|
2022-11-08 10:24:32 +00:00
|
|
|
color = { theme.palette.icon04 }
|
2021-12-20 08:44:22 +00:00
|
|
|
size = { 16 }
|
2022-11-08 10:24:32 +00:00
|
|
|
src = { IconRaiseHand } />
|
2021-10-22 13:23:52 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|