1.3.8 • Published 4 years ago
@rafcin/tooltip v1.3.8
Tooltip
Use this component to display extra information about an element by displaying a floating description.
Installation
yarn add @rafcin/tooltip
# or
npm i @rafcin/tooltipImport components
import { Tooltip } from "@rafcin/react"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>1.3.8
4 years ago