Tooltip

The Tooltio component is used to information.

1. Import

KUMUI exports 1 Tooltip-related components:

import { Tooltip } from "@rohitgadekar/kimui";

2. Usage


3. API

3.1 Tooltip

AttributeTypeDescriptionDefault
children

React.ReactNode

The content or element that will trigger the tooltip on hover.-
content

string | React.ReactNode

The content that will be displayed inside the tooltip.-
delay

number

The delay in milliseconds before showing the tooltip.0 (no delay)
position

string

Position of the tooltip relative to the trigger element. Can be top, bottom, left, right.top