@ndla/tooltip
TypeScript icon, indicating that this package has built-in type declarations

7.0.5 • Public • Published

Tooltip component

A Tooltip component that can be used to wrap any element. A tooltip is shown when the mouse pointer is hovering the wrapped element

Installation

yarn add @ndla/tooltip

Usage

Tooltip wrapper for any element

import { Tooltip } from "@ndla/tooltip";

<Tooltip tooltip="Tooltip text">{children}</Tooltip>;

Readme

Keywords

Package Sidebar

Install

npm i @ndla/tooltip

Weekly Downloads

504

Version

7.0.5

License

GPL-3.0

Unpacked Size

46.9 kB

Total Files

9

Last publish

Collaborators

  • kronen_ki
  • rauboti
  • mapoken
  • katrinewi
  • ndlauser
  • jonasc-knowit
  • gunnarvelle
  • jnatten