'Adding extra info on Material UI Tab component

I need to add extra information about the number of items in a TabPanel like so: How I want it to look

Basically, I want to be able to update the numbers underneath the Tab label, but I don't see any way to add text other than the 'label' prop. Any easy solution, or do I have to extend the Tab component somehow?

I tried putting text within the opening and closing tags, but that doesn't seem to change anything.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source