Just diving into the world of React and UI design, seeking some guidance on an issue I'm facing.
I'm working on implementing Material Ui Tabs in my Component, but struggling to get a tooltip to show on a disabled Tab. Here's a snippet of my code:
<Tooltip title={sample_title}>
<span>
<Tab
disabled
value={some_Random_title}
classes={tabStyleOne}
label={
(
<Typography variant="caption" align="center" classes={renditionHeader}>
{some_random-text}
</Typography>
)
}
/>
</span>
</Tooltip>
Following the guidelines from Material-UI Tabs Documentation, I've wrapped my Tab in a Span for disabled Tabs.
https://codesandbox.io/s/wc74r?file=/demo.js
If anyone can point out where I might be going wrong and how to successfully add a tooltip to a disabled Tab in Material UI, I'd greatly appreciate it.
Thank you in advance for any help!