Jobs datamodel updates + creation of cards for jobs detail screen.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import CardTemplate from "./job-detail-cards.template.component";
|
||||
|
||||
export default function JobDetailCardsVehicleComponent({ loading, data }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<CardTemplate loading={loading} title={t("jobs.labels.cards.vehicle")}>
|
||||
{data ? (
|
||||
<span>
|
||||
Vehicle stuff here.
|
||||
</span>
|
||||
) : null}
|
||||
</CardTemplate>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user