Skip to content

wtjs/tooltip

Repository files navigation

@wtjs/tooltip

Portal

Light-weight tooltip component for react powered by portals 🌀

Checkout the video series here

jest

Installation

yarn add @wtjs/tooltip

Usage

import Tooltip from '@wtjs/tooltip';

<Tooltip render="Hi, I'm a tooltip">
    Hover me
</Tooltip>

<Tooltip render={() => <div>Hi I am a tooltip</div>}>
    Hover me
</Tooltip>