react-simpletooltip

1.2.0 • Public • Published

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>
  );
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-simpletooltip

Weekly Downloads

3

Version

1.2.0

License

MIT

Last publish

Collaborators

  • sergiocruz