Templates

You can provide a custom rendering for the content of the Tooltip.

By default, the Tooltip shows the title attribute value of the anchor element. To customize the default content, set the content property of the Tooltip. content can accept a JSX element or another component and the title property of the anchor element will be received as props.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?