Constructor
# new TextWithHoverTooltip(props) → {React.ReactElement}
Overview
TheCustomTooltip
component with wrapper element that hides overly long content.
Usage
You can override default Typography element that wraps the text property viachildren
property.
You can provide your own tooltip for a component via tooltipTitle
property.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
props |
Object | |||
children |
React.ReactNode |
<optional> |
The content of the component. |
|
roundNumbers |
boolean |
<optional> |
true | If |
text |
React.ReactNode | The content of the component and tooltip. |
||
TooltipProps |
Object |
<optional> |
Props applied to the |
|
tooltipTitle |
React.ReactNode |
<optional> |
Optional title of the component. |
|
TypographyProps |
Object |
<optional> |
Props applied to the Typography component. |
React.ReactElement