mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-15 01:16:22 +02:00
fix: change insights icon to award star (#6534)
Changes the insights icon to award_star. Closes # [1-2180](https://linear.app/unleash/issue/1-2180/change-icon-to-award-star) <img width="320" alt="Screenshot 2024-03-13 at 13 59 21" src="https://github.com/Unleash/unleash/assets/104830839/9bece091-23c3-4ebf-beda-31a81c1f75e4"> Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
c6fd558da4
commit
d6482ab07d
@ -1,4 +1,4 @@
|
||||
import Settings from '@mui/icons-material/Settings';
|
||||
import Icon from '@mui/material/Icon';
|
||||
import { Box, Typography, styled } from '@mui/material';
|
||||
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
|
||||
|
||||
@ -57,11 +57,12 @@ const StyledFlagCountPerUser = styled(Typography)(({ theme }) => ({
|
||||
fontSize: theme.fontSizes.mainHeader,
|
||||
}));
|
||||
|
||||
const StyledSettingsIcon = styled(Settings)(({ theme }) => ({
|
||||
const StyledIcon = styled(Icon)(({ theme }) => ({
|
||||
color: theme.palette.primary.main,
|
||||
width: '15px',
|
||||
height: '15px',
|
||||
marginRight: theme.spacing(0.5),
|
||||
fontSize: '15px!important',
|
||||
}));
|
||||
|
||||
interface IFlagStatsProps {
|
||||
@ -87,7 +88,7 @@ export const FlagStats: React.FC<IFlagStatsProps> = ({
|
||||
<StyledInsightsContainer>
|
||||
<StyledTextContainer>
|
||||
<StyledHeaderContainer>
|
||||
<StyledSettingsIcon />
|
||||
<StyledIcon>award_star</StyledIcon>
|
||||
<Typography
|
||||
fontWeight='bold'
|
||||
variant='body2'
|
||||
|
Loading…
Reference in New Issue
Block a user