tooltip
Hover info with dither tooltip
Coretooltip.css
Installation
$
npx skeehn add tooltipPreview
Top tooltip
Bottom tooltip
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| content | string | — | Tooltip text content |
| position | 'top' | 'bottom' | 'left' | 'right' | 'top' | Tooltip position |
Usage
tooltip.tsx
1import { Tooltip } from '@skeehn/react';23export function Actions() {4 return (5 <Tooltip content="Save your changes">6 <button>Save</button>7 </Tooltip>8 );9}