type ToggleSubmitDisabledFunction = (testResult: boolean) => void;