aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/SubmitResult.tsx
blob: ea75b6b04b62c4186cf704db0c324fef3c5c2f6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import type { components } from "../../api/schema";
import SubmitStatusLabel from "../SubmitStatusLabel";

type Props = {
	status: components["schemas"]["ExecutionStatus"];
};

export default function SubmitResult({ status }: Props) {
	return (
		<div className="flex flex-col gap-2">
			<div className="flex">
				<div className="grow font-bold text-xl text-center">
					<SubmitStatusLabel status={status} />
				</div>
			</div>
		</div>
	);
}