Jobs datamodel updates + creation of cards for jobs detail screen.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import React from "react";
|
||||
import { Card } from "antd";
|
||||
|
||||
export default function JobDetailCardTemplate({
|
||||
loading,
|
||||
title,
|
||||
...otherProps
|
||||
}) {
|
||||
return (
|
||||
<Card
|
||||
size="small"
|
||||
style={{ width: 300 }}
|
||||
className="job-card"
|
||||
title={title}
|
||||
loading={loading}
|
||||
>
|
||||
{otherProps.children}
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user