0.0.8 • Published 4 years ago

@ibh/react-tooltip v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Useful tooltip for react components, here is a live demo..

Recipes

  • React-spring
  • react-use-measure

Install

yarn add @ibh/react-tooltip

Import

import Tooltip from "@ibh/react-tooltip";

Usage

To use the tooltip, you need to pass your tooltip component through the render prop, and the tooltip will automatically calculate the position of your component to handle the border collision.

<Tooltip render={() => <Infos>Im a tooltip</Infos>}>
  <Icon />
</Tooltip>

Todo

  • Handle right side border bypass
0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago