Further UI Updates
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import React from "react";
|
||||
import CourtesyCarCreateFormComponent from "../../components/courtesy-car-form/courtesy-car-form.component";
|
||||
import CourtesyCarContractListComponent from "../../components/courtesy-car-contract-list/courtesy-car-contract-list.component";
|
||||
import { Col, Divider, Row } from "antd";
|
||||
|
||||
export default function CourtesyCarDetailPageComponent({
|
||||
contracts,
|
||||
@@ -9,12 +10,17 @@ export default function CourtesyCarDetailPageComponent({
|
||||
totalContracts,
|
||||
}) {
|
||||
return (
|
||||
<div>
|
||||
<CourtesyCarCreateFormComponent form={form} saveLoading={saveLoading} />
|
||||
<CourtesyCarContractListComponent
|
||||
contracts={contracts}
|
||||
totalContracts={totalContracts}
|
||||
/>
|
||||
</div>
|
||||
<Row gutter={[16, 16]}>
|
||||
<Col span={24}>
|
||||
<CourtesyCarCreateFormComponent form={form} saveLoading={saveLoading} />
|
||||
</Col>
|
||||
<Divider type="horizontal" />
|
||||
<Col span={24}>
|
||||
<CourtesyCarContractListComponent
|
||||
contracts={contracts}
|
||||
totalContracts={totalContracts}
|
||||
/>
|
||||
</Col>
|
||||
</Row>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user