Type Alias: TooltipProps
TooltipProps =
object
Defined in: lib/layout/Tooltip.tsx:10
Props for the Tooltip component.
Properties
bgColor?
optionalbgColor:string
Defined in: lib/layout/Tooltip.tsx:26
The background color of the tooltip
borderWidth?
optionalborderWidth:number
Defined in: lib/layout/Tooltip.tsx:30
Percentage of screen width to leave as margin on both sides
children?
optionalchildren:React.ReactNode
Defined in: lib/layout/Tooltip.tsx:16
Custom content to render inside the tooltip
className?
optionalclassName:string
Defined in: lib/layout/Tooltip.tsx:18
Additional CSS classes for the container
persistent?
optionalpersistent:boolean
Defined in: lib/layout/Tooltip.tsx:32
If true, tooltip requires explicit close; if false, closes on trigger release
text?
optionaltext:string
Defined in: lib/layout/Tooltip.tsx:14
The text content of the tooltip
textClassName?
optionaltextClassName:string
Defined in: lib/layout/Tooltip.tsx:20
Additional CSS classes for the tooltip text
textColor?
optionaltextColor: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?
optionaltriggerSize:number
Defined in: lib/layout/Tooltip.tsx:24
The size of the trigger element
underTrigger?
optionalunderTrigger:boolean
Defined in: lib/layout/Tooltip.tsx:22
If true, the tooltip appears below the trigger; otherwise above