@ndla/tooltip
v8.0.2
Published
Tooltip component from NDLA
Downloads
419
Keywords
Readme
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>;