1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 22:54:22 +00:00
festa/components/Avatar.tsx

12 lines
305 B
TypeScript
Raw Normal View History

2022-06-03 01:56:43 +00:00
import { default as Image, ImageProps } from "next/image";
import { default as classNames } from "classnames"
2022-05-29 02:01:56 +00:00
export function Avatar(props: ImageProps) {
return (
<Image
alt=""
{...props}
className={classNames(props.className, "avatar")}
/>
)
}