2.0.5 • Published 2 years ago

@teste-ui/tooltip v2.0.5

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

Tooltip

Use this component to display extra information about an element by displaying a floating description.

Installation

yarn add @teste-ui/tooltip

# or

npm i @teste-ui/tooltip

Import components

import { Tooltip } from "@teste-ui/react"

Usage

If the children of Tooltip is a string, it will be wrapped with a focusable span element to ensure the Tooltip meets accessibility requirements.

<Tooltip label="Hey, I'm here!">Hover me</Tooltip>