Skip to main content

Type Alias: TooltipProps

TooltipProps = object

Defined in: lib/layout/Tooltip.tsx:10

Props for the Tooltip component.

Properties

bgColor?

optional bgColor: string

Defined in: lib/layout/Tooltip.tsx:26

The background color of the tooltip


borderWidth?

optional borderWidth: number

Defined in: lib/layout/Tooltip.tsx:30

Percentage of screen width to leave as margin on both sides


children?

optional children: React.ReactNode

Defined in: lib/layout/Tooltip.tsx:16

Custom content to render inside the tooltip


className?

optional className: string

Defined in: lib/layout/Tooltip.tsx:18

Additional CSS classes for the container


persistent?

optional persistent: boolean

Defined in: lib/layout/Tooltip.tsx:32

If true, tooltip requires explicit close; if false, closes on trigger release


text?

optional text: string

Defined in: lib/layout/Tooltip.tsx:14

The text content of the tooltip


textClassName?

optional textClassName: string

Defined in: lib/layout/Tooltip.tsx:20

Additional CSS classes for the tooltip text


textColor?

optional textColor: string

Defined in: lib/layout/Tooltip.tsx:28

The text color of the tooltip


trigger

trigger: React.ReactNode

Defined in: lib/layout/Tooltip.tsx:12

The element that triggers the tooltip display


triggerSize?

optional triggerSize: number

Defined in: lib/layout/Tooltip.tsx:24

The size of the trigger element


underTrigger?

optional underTrigger: boolean

Defined in: lib/layout/Tooltip.tsx:22

If true, the tooltip appears below the trigger; otherwise above