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

16 lines
512 B
JavaScript
Raw Normal View History

import ReactCountryFlag from "react-country-flag";
const PlayerStats = (props) => {
return <div className={'player-stats'}>
2022-10-08 14:44:19 +00:00
<p>{props.pp}pp <span style={{
fontSize: '20px',
}}>({props.websiteType})</span></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;