This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
beatsaber-overlay/src/components/Avatar.js
2022-10-08 19:17:49 +01:00

19 lines
451 B
JavaScript

import Image from "next/image";
const Avatar = (props) => {
return <>
<Image
className={'player-avatar'}
src={props.url}
width={180}
height={180}
alt={'Avatar image'}
loading='lazy'
placeholder="blur"
blurDataURL="https://cdn.fascinated.cc/MhCUeHZLsh.webp?raw=true"
unoptimized={true}
/>
</>
}
export default Avatar;