'$focused and $disabled not working in @mui

I am migrating my code from material-ui 4 to material-ui 5. I had used $focused, $disabled to apply styles for disabled and focused fields in material-ui-v4 but after upgrading to @mui v5 these are not working. Please confirm.



Sources

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

Source: Stack Overflow

Solution Source