Constructor
# new CustomTooltip(props) → {React.ReactElement}
Overview
The Tooltip component from Material-UI library with custom styling. For full documentation check out Material-UI docs on Tooltip.Usage
There is a customWrapper
element that can hold reference.
This composition enables you to forward children without the ability to hold ref to the Tooltip component.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
props |
Object | Any other props will be forwarded to the Tooltip component. |
||
classes |
Object |
<optional> |
Override or extend the styles applied to the component. |
|
className |
string |
<optional> |
The class name of the Wrapper element. |
|
disableGpu |
boolean |
<optional> |
true | If |
disableMaxWidth |
boolean |
<optional> |
false | If |
WrapperComponent |
React.ElementType |
<optional> |
div | The component used for the wrapper element. |
WrapperProps |
Object |
<optional> |
Props applied to the |
React.ReactElement