feat: add user avatar menu (#80)

This commit is contained in:
Manuel
2024-02-10 23:14:02 +01:00
committed by GitHub
parent 16442bc379
commit 08fa338abb
3 changed files with 76 additions and 3 deletions

View File

@@ -1,11 +1,14 @@
import { UnstyledButton } from "@homarr/ui";
import { UserAvatar } from "~/components/user-avatar";
import { UserAvatarMenu } from "~/components/user-avatar-menu";
export const UserButton = () => {
return (
<UnstyledButton>
<UserAvatar size="md" />
</UnstyledButton>
<UserAvatarMenu>
<UnstyledButton>
<UserAvatar size="md" />
</UnstyledButton>
</UserAvatarMenu>
);
};