19 lines
674 B
JavaScript
19 lines
674 B
JavaScript
import React from "react";
|
|
import JobChecklistTemplateList from "./components/job-checklist-template-list/job-checklist-template-list.component";
|
|
import JobChecklistForm from "./components/job-checklist-form/job-checklist-form.component";
|
|
import { Row, Col } from "antd";
|
|
export default function JobIntakeComponent({ checklistConfig, type, job }) {
|
|
const { form, templates } = checklistConfig;
|
|
|
|
return (
|
|
<Row gutter={[16, 16]}>
|
|
<Col sm={24} md={8}>
|
|
<JobChecklistTemplateList templates={templates} type={type} />
|
|
</Col>
|
|
<Col sm={24} md={16}>
|
|
<JobChecklistForm formItems={form} type={type} job={job} />
|
|
</Col>
|
|
</Row>
|
|
);
|
|
}
|