@fidelisppm/tooltip

1.1.0 • Public • Published

Tooltip

Display a message to a user when the mouse hovers over a dom element

Props

target (object)
A DOM element which will trigger the tooltip to display on mouse hover

tooltip (string) The message to display to the user

Usage

<Tooltip
	target={document.getElementById('example-span')}
	tooltip="I am a helpful message!"
/>

Install

DownloadsWeekly Downloads

12

Version

1.1.0

License

SEE LICENSE IN GIT REPO

Unpacked Size

16.4 kB

Total Files

8

Last publish

Collaborators

  • legendary_linux
  • sapphirecat
  • danyay