Provide an API to update the theme from down the tree #21273
Labels
new feature
New feature or request
status: expected behavior
Does not imply the behavior is intended. Just that we know about it and can't work around it
waiting for 👍
Waiting for upvotes
Summary 💡
It makes sense to me to abstract the theme generation APIs into a single hook interface that returns the generated theme and a setter function to modify the theme.
Examples 🌈
I published the
useMuiTheme
hook (@devskope/use-mui-theme) to solve this problem.The text was updated successfully, but these errors were encountered: