Skip to content

Commit

Permalink
chore: Add hover effect (#1538)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMIRKHANEF authored Sep 8, 2024
1 parent c3026c7 commit d059884
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/* eslint-disable react/jsx-max-props-per-line */

import { Close as CloseIcon } from '@mui/icons-material';
import { Divider, Grid, Typography, useTheme } from '@mui/material';
import { Divider, Grid, IconButton, Typography, useTheme } from '@mui/material';
import React from 'react';

import { VaadinIcon } from '../../components';
Expand All @@ -27,7 +27,9 @@ export default function SimpleModalTitle ({ onClose, title, vaadinIcon }: Props)
</Typography>
</Grid>
<Grid item>
<CloseIcon onClick={onClose} sx={{ color: 'primary.main', cursor: 'pointer', stroke: theme.palette.primary.main, strokeWidth: 1.5 }} />
<IconButton onClick={onClose}>
<CloseIcon sx={{ color: 'primary.main', cursor: 'pointer', stroke: theme.palette.primary.main, strokeWidth: 1.5 }} />
</IconButton>
</Grid>
<Divider sx={{ mt: '5px', width: '100%' }} />
</Grid>
Expand Down

0 comments on commit d059884

Please sign in to comment.