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

23 lines
404 B
JavaScript
Raw Normal View History

import Image from "next/image";
2022-10-23 20:47:57 +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"
2022-10-19 17:59:45 +00:00
blurDataURL="https://cdn.fascinated.cc/IkQFyodbZv.jpg?raw=true"
2022-10-14 19:00:47 +00:00
/>
</>
);
};
2022-10-14 19:00:47 +00:00
export default Avatar;