Module

TooltipIcon

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

View Source stories/TooltipIcon.jsx, line 17

an icon that displays a tooltip when clicked
React.ReactElement