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

24 lines
431 B
JavaScript
Raw Normal View History

import Image from "next/image";
2022-10-14 19:00:47 +00:00
import styles from "../../styles/avatar.module.css";
2022-10-10 12:14:25 +00:00
const Avatar = (props) => {
2022-10-14 19:00:47 +00:00
return (
<>
<Image
className={styles.playerAvatar}
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}
/>
</>
);
};
2022-10-14 19:00:47 +00:00
export default Avatar;