Interface: TooltipIconProps
Defined in: components/TooltipIcon.tsx:10
Props for the TooltipIcon component.
Properties
data-testid?
optionaldata-testid?:string
Defined in: components/TooltipIcon.tsx:28
Test ID for testing purposes.
icon
icon:
IconType
Defined in: components/TooltipIcon.tsx:14
The icon to display. Can be a string identifier or an icon object from @ttoss/react-icons.
onClick?
optionalonClick?: () =>void
Defined in: components/TooltipIcon.tsx:18
Optional click handler for the icon.
Returns
void
sx?
optionalsx?:Record<string,unknown>
Defined in: components/TooltipIcon.tsx:37
Additional styles to apply to the Text wrapper component.
tooltip?
optionaltooltip?:Omit<TooltipProps,"variant">
Defined in: components/TooltipIcon.tsx:24
Optional tooltip configuration. Pass tooltip props to display a tooltip when hovering over the icon. The 'variant' prop is excluded as it's controlled by the component's variant prop.
variant?
optionalvariant?:"success"|"warning"|"error"|"info"
Defined in: components/TooltipIcon.tsx:33
Visual variant for both the text wrapper and tooltip.
Default
'info'