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

14 lines
427 B
JavaScript
Raw Normal View History

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;