0.1.0-alpha.2 • Published 6 years ago
@bianic-ui/tooltip
Licence
MIT
Version
0.1.0-alpha.2
Deps
5
Size
75 kB
Vulns
0
Weekly
0
Tooltip
Use this component to display extra information about an element by displaying a floating description.
Installation
yarn add @bianic-ui/tooltip
# or
npm i @bianic-ui/tooltip
Import components
import { Tooltip } from "@bianic-ui/core"
Usage
If the children of Tooltip is a string, we wrap with in a span with
tabIndex set to 0, to ensure it meets the accessibility requirements.
<Tooltip label="Hey, I'm here!">Hover me</Tooltip>