Methods
# inner TooltipIcon(props) → {React.ReactElement}
TooltipIcon is a wrapper around the MUI InfoOutlined icon (default) that displays a tooltip when clicked
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
object
|
any additional props are passed directly to the icon component | |
iconComponent |
React.ElementType
|
<optional> |
the component to use for the icon instead of the default InfoOutlined |
infoText |
string
|
<optional> |
the text to display in the tooltip |
an icon that displays a tooltip when clicked
React.ReactElement