Tooltip
A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it.
Basic usage
First, import the component.
import {Tooltip} from '@pleo-io/telescope'
Then use it, like so:
API reference
The component accepts the following props.
Prop | Type | Default |
---|---|---|
align | enum | center |
aria-label | string | |
children * | enum | |
content * | enum | |
onOpenChange | function | |
open | boolean | |
portalled | boolean | true |
side | enum | top |
- Basic usage
- API reference
On this page