2021-10-22 13:23:52 +00:00
|
|
|
import { makeStyles } from '@material-ui/styles';
|
2021-04-21 13:48:05 +00:00
|
|
|
import React from 'react';
|
|
|
|
|
2022-08-25 11:35:19 +00:00
|
|
|
import Icon from '../../../base/icons/components/Icon';
|
2022-09-06 17:32:20 +00:00
|
|
|
import { IconRaisedHandHollow } from '../../../base/icons/svg';
|
2022-08-25 11:35:19 +00:00
|
|
|
import BaseTheme from '../../../base/ui/components/BaseTheme.web';
|
2021-04-21 13:48:05 +00:00
|
|
|
|
2022-08-25 11:35:19 +00:00
|
|
|
const useStyles = makeStyles((theme: any) => {
|
2021-10-22 13:23:52 +00:00
|
|
|
return {
|
|
|
|
indicator: {
|
2021-12-20 08:44:22 +00:00
|
|
|
backgroundColor: theme.palette.warning02,
|
2021-10-22 13:23:52 +00:00
|
|
|
borderRadius: `${theme.shape.borderRadius / 2}px`,
|
|
|
|
height: '24px',
|
|
|
|
width: '24px'
|
|
|
|
}
|
|
|
|
};
|
|
|
|
});
|
2021-04-21 13:48:05 +00:00
|
|
|
|
2021-10-22 13:23:52 +00:00
|
|
|
export const RaisedHandIndicator = () => {
|
|
|
|
const styles = useStyles();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<div className = { styles.indicator }>
|
|
|
|
<Icon
|
2021-12-20 08:44:22 +00:00
|
|
|
color = { BaseTheme.palette.uiBackground }
|
|
|
|
size = { 16 }
|
2021-10-22 13:23:52 +00:00
|
|
|
src = { IconRaisedHandHollow } />
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|