-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(windmill): add usePreferences to windmill
Instead of adding all storage, user preferences and theme customization utilities as a default, they are now under the usePreferences prop, being optional BREAKING CHANGE: Now you need to use the prop `usePreferences` in the root Windmill component if you want access to theme utilities like the current theme or theme toggler, user preferences and user theme storage. These features were enabled by default before. You get the old behavior just adding `usePreferences` to the root Windmill component.
- Loading branch information
1 parent
7cfa036
commit a619a28
Showing
3 changed files
with
38 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters