Skip to content

Commit

Permalink
avatar click handle
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed May 21, 2024
1 parent 62b930d commit 5b7f95f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/NavBar/MyAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";

const MyAvatar = () => {
return (
<Avatar className="border-solid border-2 duration-1000 hover:border-gray-400 border-transparent">
<Avatar
className="border-solid border-2 duration-1000 hover:border-gray-400 border-transparent"
onClick={() => {
console.log("v1");
}}
>
<AvatarImage src="https://github.com/tahsinature.png" />
<AvatarFallback>MT</AvatarFallback>
</Avatar>
Expand Down

0 comments on commit 5b7f95f

Please sign in to comment.