import React from "react"; import type { components } from "../../api/schema"; import SubmitStatusLabel from "../SubmitStatusLabel"; type Props = { status: components["schemas"]["ExecutionStatus"]; submitButton?: React.ReactNode; }; export default function SubmitResult({ status, submitButton }: Props) { return (