Added formatting for jobs lists and jobs detail components

This commit is contained in:
Patrick Fic
2020-10-14 22:37:49 -07:00
parent 76f8a17b92
commit 0456543574
24 changed files with 616 additions and 30 deletions

View File

@@ -0,0 +1,23 @@
import { Button, Result } from "antd";
import React from "react";
export default function ErrorResultAtom({
title,
errorMessage,
tryAgainCallback,
}) {
return (
<Result
status="500"
title={title}
subTitle={errorMessage}
extra={
tryAgainCallback ? (
<Button type="primary" onClick={() => tryAgainCallback()}>
Try Again
</Button>
) : null
}
/>
);
}