Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.22 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.22 KB

React SimpleTooltip

Build Status bitHound Overall Score npm version

React SimpleTooltip is an ultra-simplistic tooltip plugin for React apps. It is simple to work with and it doesn't make any assumptions about the app you're using it on.

Live demo

If you are curious about how this component looks in real life, check it out on the react-simpletooltip page.

Usage

Interested in trying it out? To use React SimpleTooltip, run npm install react-simpletooltip to get started.

function MyComponent() {
  const tooltip = (
    <Tooltip>Hello from Tooltip</Tooltip>
  );

  return (
    <div>
      <OnMouseOverTooltip tooltip={tooltip}>
        <a href="#">hover me!</a>
      </OnMouseOverTooltip>
    </div>
  );
}