mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-23 07:04:22 +00:00
13 lines
314 B
TypeScript
13 lines
314 B
TypeScript
|
import Image, { ImageProps } from "next/image";
|
||
|
import { HTMLProps } from "react";
|
||
|
import classNames from "classnames"
|
||
|
|
||
|
export function Avatar(props: ImageProps) {
|
||
|
return (
|
||
|
<Image
|
||
|
alt=""
|
||
|
{...props}
|
||
|
className={classNames(props.className, "avatar")}
|
||
|
/>
|
||
|
)
|
||
|
}
|