Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

RaisedHandIndicator.tsx 852B

123456789101112131415161718192021222324252627282930
  1. import { Theme } from '@mui/material';
  2. import React from 'react';
  3. import { makeStyles } from 'tss-react/mui';
  4. import Icon from '../../../base/icons/components/Icon';
  5. import { IconRaisedHandHollow } from '../../../base/icons/svg';
  6. const useStyles = makeStyles()((theme: Theme) => {
  7. return {
  8. indicator: {
  9. backgroundColor: theme.palette.warning02,
  10. borderRadius: `${Number(theme.shape.borderRadius) / 2}px`,
  11. height: '24px',
  12. width: '24px'
  13. }
  14. };
  15. });
  16. export const RaisedHandIndicator = () => {
  17. const { classes: styles, theme } = useStyles();
  18. return (
  19. <div className = { styles.indicator }>
  20. <Icon
  21. color = { theme.palette.uiBackground }
  22. size = { 16 }
  23. src = { IconRaisedHandHollow } />
  24. </div>
  25. );
  26. };