Update UserButton to latest designs with improved account handling
UserButton component has been redesigned with combined mode now leading with the account and the modePriority prop removed. Settings now opens organization and profile settings, while Sign out of all accounts has been moved into the Switch account menu.
Patch Changes
-
Update
UserButtonto the latest designs. Combined mode always leads with the account, and themodePriorityprop is removed. Settings opens organization and profile settings, and Sign out of all accounts moves into the Switch account menu. (#10002) by @alexcarpenter -
Updated dependencies [
2654caa]:- @clerk/shared@4.39.0
Source: original entry ↗
More from Clerk
Follow Clerk to get its new changes in your feed and email digest.
@clerk/expo-native-components package introduced
A new @clerk/expo-native-components package is now required for native components (AuthView, UserButton, UserProfileView). Install it before deploying over-the-air updates as errors occur at runtime; import native components from @clerk/expo/native-components and deprecate the old @clerk/expo/native import path.
@clerk/expo-native-components 0.1.0
Introduces @clerk/expo-native-components, a new required package for native components (AuthView, UserButton, UserProfileView). Import native components from @clerk/expo/native-components instead of the deprecated @clerk/expo/native, and install the new package before shipping over-the-air updates to avoid runtime errors.
@clerk/ui@1.40.1
Release of @clerk/ui version 1.40.1 with updates and improvements to the UI component library.