import styles from "~/components/styles.module.scss"; import * as schema from "~/components/schema"; import RunDate from "~/components/run-date"; import RunDuration from "~/components/run-duration"; import RunPlayers from "~/components/run-players"; import RunRank from "~/components/run-rank"; import Link from "next/link"; import RunLinks from "./run-links"; const LeaderboardTable: React.FC<{ runs: schema.GetGamePage_game_gameCategories_leaderboard[]; game: { timingMethod: string; srcSlug: string }; }> = ({ runs, game }) => ( {runs.length ? ( runs.map(leaderboardRun => ( )) ) : ( )}
Rank Player Time ({game.timingMethod}) Date Links
no runs
); export default LeaderboardTable;