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:
parent
9e575d307a
commit
499285266f
@ -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>
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user