mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 14:44:21 +00:00
12 lines
No EOL
305 B
TypeScript
12 lines
No EOL
305 B
TypeScript
import { default as Image, ImageProps } from "next/image";
|
|
import { default as classNames } from "classnames"
|
|
|
|
export function Avatar(props: ImageProps) {
|
|
return (
|
|
<Image
|
|
alt=""
|
|
{...props}
|
|
className={classNames(props.className, "avatar")}
|
|
/>
|
|
)
|
|
} |