@fidelisppm/tooltip

1.2.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!"
/>

Readme

Keywords

Package Sidebar

Install

npm i @fidelisppm/tooltip

Weekly Downloads

0

Version

1.2.0

License

SEE LICENSE IN GIT REPO

Unpacked Size

16.5 kB

Total Files

8

Last publish

Collaborators

  • legendary_linux
  • sapphirecat
  • danyay