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/components/PlayerStats.js
RealFascinated aac2c7027e Updated
Added documentation to methods
Fixed avatars not initially loading
Just generally cleaned up the codebase
2022-04-02 07:01:58 +01:00

14 lines
427 B
JavaScript

import ReactCountryFlag from "react-country-flag";
const PlayerStats = (props) => {
return <div className={'player-stats'}>
<p>{props.pp}pp</p>
<p>#{props.globalPos}</p>
<div className="player-country">
<p>#{props.countryRank}</p>
<ReactCountryFlag className={'player-country-icon'} svg countryCode={props.country} />
</div>
</div>
}
export default PlayerStats;