1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

Adding tooltip for share button

This commit is contained in:
Jamie Hewitt 2023-01-05 11:56:30 +00:00
parent 9e575d307a
commit 499285266f

View File

@ -1,5 +1,6 @@
import React, { ReactElement } from 'react'
import { toast } from 'react-toastify'
import Tooltip from '@shared/atoms/Tooltip'
import styles from './Share.module.css'
import Button from '@shared/atoms/Button'
import ShareIcon from '@images/share.svg'
@ -24,6 +25,9 @@ export default function Share({
<ShareIcon role="img" aria-label="Share" className={styles.icon} />
Share
</Button>
<Tooltip
content={`Copy the link to this profile to share it with others.`}
/>
</div>
)
}