[system] Support using applyStyles
inside template literals
#44659
Labels
enhancement
This is not a bug, nor a new feature
package: system
Specific to @mui/system
waiting for 👍
Waiting for upvotes
Summary
This should be supported out of the box:
But it's not because
theme.applyStyles
returns an object. The current workaround is to overrideapplyStyles
.Motivation
Taken from #44488
Search keywords: applyStyles template literals
The text was updated successfully, but these errors were encountered: