Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/large-doors-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-expo': minor
---

Make UserAvatar available to Expo Web
2 changes: 2 additions & 0 deletions packages/expo/src/web/uiComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
SignOutButton as BaseSignOutButton,
SignUp as BaseSignUp,
SignUpButton as BaseSignUpButton,
UserAvatar as BaseUserAvatar,
UserButton as BaseUserButton,
UserProfile as BaseUserProfile,
Waitlist as BaseWaitlist,
Expand All @@ -37,6 +38,7 @@ function WrapComponent<T extends { displayName: string }>(component: T) {
export const SignIn: typeof BaseSignIn = WrapComponent(BaseSignIn);
export const SignUp: typeof BaseSignUp = WrapComponent(BaseSignUp);

export const UserAvatar: typeof BaseUserAvatar = WrapComponent(BaseUserAvatar);
export const UserButton: typeof BaseUserButton = WrapComponent(BaseUserButton);
export const UserProfile: typeof BaseUserProfile = WrapComponent(BaseUserProfile);

Expand Down
Loading