|
1 | | -import { Box, IconButton, Menu, MenuItem, Tooltip } from '@mui/material'; |
| 1 | +import { Box, IconButton, Menu, MenuItem } from '@mui/material'; |
2 | 2 | import React, { useState } from 'react'; |
3 | 3 | import { FacebookShareButton, LinkedinShareButton, TwitterShareButton } from 'react-share'; |
4 | 4 | import { ChainIcon, FacebookIcon, LinkedinIcon, ShareIcon, TwitterIcon } from '../../icons'; |
5 | 5 | import { useTheme } from '../../theme'; |
6 | 6 | import { Pattern } from '../CustomCatalog/CustomCard'; |
| 7 | +import { CustomTooltip } from '../CustomTooltip'; |
7 | 8 | import { ErrorBoundary } from '../ErrorBoundary'; |
8 | 9 | import { CopyShareIconWrapper, VisibilityChip } from './style'; |
9 | 10 |
|
@@ -50,23 +51,23 @@ const SocialSharePopper: React.FC<SocialSharePopperProps> = ({ |
50 | 51 | </VisibilityChip> |
51 | 52 |
|
52 | 53 | {details?.visibility !== 'private' && ( |
53 | | - <Tooltip title="Copy Link" placement="top" arrow> |
| 54 | + <CustomTooltip title="Copy Link" placement="top" arrow> |
54 | 55 | <IconButton |
55 | 56 | sx={{ borderRadius: '0.1rem', padding: '0.5rem' }} |
56 | 57 | onClick={() => handleCopyUrl(cleanedType, details?.name, details?.id)} |
57 | 58 | > |
58 | | - <ChainIcon height={'24'} width={'24'} /> |
| 59 | + <ChainIcon height={'24'} width={'24'} fill={theme.palette.icon.secondary} /> |
59 | 60 | </IconButton> |
60 | | - </Tooltip> |
| 61 | + </CustomTooltip> |
61 | 62 | )} |
62 | 63 |
|
63 | 64 | {(details?.visibility === 'published' || details?.visibility === 'public') && ( |
64 | 65 | <> |
65 | | - <Tooltip title={title} placement="top" arrow> |
| 66 | + <CustomTooltip title={title} placement="top" arrow> |
66 | 67 | <IconButton sx={{ borderRadius: '0.1rem', padding: '0.5rem' }} onClick={handleClick}> |
67 | | - <ShareIcon height={24} width={22} /> |
| 68 | + <ShareIcon height={24} width={22} fill={theme.palette.icon.secondary} /> |
68 | 69 | </IconButton> |
69 | | - </Tooltip> |
| 70 | + </CustomTooltip> |
70 | 71 |
|
71 | 72 | <Menu |
72 | 73 | anchorEl={anchorEl} |
|
0 commit comments