react-tabs
Tooltip component.
Usage
Wrap Tooltip over component or element you want to make tooltip appears on hovering this element.
import { Tooltip } from "@crpt/react-tooltip";
<Tooltip position="bottom" content={<div>Whaaat?</div>}>
<div>HOVER MEEEE</div>
</Tooltip>
PropName | Description | Example |
---|---|---|
position: String(required) | Tooltip position. | <Tooltip position="bottom" content={ I am tooltip content } /> |
content: Any(required) | Any content you want to see in tooltip. | <Tooltip position="bottom" content={ I am tooltip content } /> |