-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: apply pull-up & pull-down animations
- Loading branch information
Bruno Menegidio
committed
Jul 23, 2024
1 parent
d9d072f
commit 841769b
Showing
3 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
import clsx from 'clsx'; | ||
import Image from 'next/image'; | ||
|
||
import { Props } from '@/app/_components/header/avatar/types/props'; | ||
|
||
export const Avatar = ({ src }: Props) => ( | ||
<Image src={src} alt={'Profile'} className={'rounded-full ring-2 ring-gray-400'} width={75} height={75} /> | ||
export const Avatar = ({ src, className }: Props) => ( | ||
<Image | ||
src={src} | ||
alt={'Profile'} | ||
className={clsx('rounded-full ring-2 ring-gray-400', className)} | ||
width={75} | ||
height={75} | ||
/> | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export type Props = { | ||
src: string; | ||
className?: string; | ||
}; |