Skip to content

Commit 160dc93

Browse files
authored
feat(clerk-expo): Re-export UserAvatar (#7007)
1 parent 4f3ceaf commit 160dc93

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/large-doors-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/clerk-expo': minor
3+
---
4+
5+
Make UserAvatar available to Expo Web

packages/expo/src/web/uiComponents.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
SignOutButton as BaseSignOutButton,
1212
SignUp as BaseSignUp,
1313
SignUpButton as BaseSignUpButton,
14+
UserAvatar as BaseUserAvatar,
1415
UserButton as BaseUserButton,
1516
UserProfile as BaseUserProfile,
1617
Waitlist as BaseWaitlist,
@@ -37,6 +38,7 @@ function WrapComponent<T extends { displayName: string }>(component: T) {
3738
export const SignIn: typeof BaseSignIn = WrapComponent(BaseSignIn);
3839
export const SignUp: typeof BaseSignUp = WrapComponent(BaseSignUp);
3940

41+
export const UserAvatar: typeof BaseUserAvatar = WrapComponent(BaseUserAvatar);
4042
export const UserButton: typeof BaseUserButton = WrapComponent(BaseUserButton);
4143
export const UserProfile: typeof BaseUserProfile = WrapComponent(BaseUserProfile);
4244

0 commit comments

Comments
 (0)