material ui tab dynamic width text code example
Example: remove selected bar mui tabs
return(
<Tabs
value={tabPosition}
onChange={handleTabChange}
TabIndicatorProps={{ <--- here
style: {
display: "none",
},
}} <-- to here
>
<Tab
label={"File"}
{...a11yProps(0)}
/>
<Tab
label={"New"}
{...a11yProps(1)}
/>
</Tabs>
);