I am getting this error. Code is crashing.

Here are my imports:

And this is how I am calling it in m code (simple example from docs):

Check the documentation, the Tooltip requires an element as a child that forward the ref, for instance:
<Tooltip title="Foo">
  <span>Bar</span>
</Tooltip>
Maybe that could be the error message if there is no child element present.
@elitan #17480
Agreed, I had this exact error, had to wrap my text inside a <Button>
I bumped into this when I had 2 components inside the tooltip. I'm guessing Tooltip does not know how do deal with that. I removed one component and the problem went away.
@cyrfer The tooltip requires a React element that forward refs, a node isn't supported.
@thebazshah in the tooltip u have to required atleast one tag or react element but dont use more than one if u use then again this show same error
like:
<Tooltip title="Delete">
     <button onClick={additem}><AddShoppingCartIcon /></button>
    <br />
     </Tooltip>
this is show error
if u remove 
 then this error not shown
Most helpful comment
Check the documentation, the Tooltip requires an element as a child that forward the ref, for instance: