CEC-1183/CEC-1201 fleet vehicles forms (#130)
* working fleet vehicles forms * snapshots and api tests
This commit is contained in:
21
src/components/Fleets/Status/VehiclesTab.jsx
Normal file
21
src/components/Fleets/Status/VehiclesTab.jsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import React from "react";
|
||||
import { useParams } from "react-router";
|
||||
import clsx from "clsx";
|
||||
import { Typography } from "@material-ui/core";
|
||||
|
||||
import FleetVehiclesTable from "./Vehicles/Table";
|
||||
import useStyles from "../../useStyles";
|
||||
|
||||
const FleetVehiclesTab = () => {
|
||||
const { name } = useParams();
|
||||
const classes = useStyles();
|
||||
|
||||
return (
|
||||
<div className={clsx(classes.paper, classes.tableSize)}>
|
||||
<Typography variant="h6">Vehicles</Typography>
|
||||
<FleetVehiclesTable name={name} classes={classes} />
|
||||
</div >
|
||||
);
|
||||
};
|
||||
|
||||
export default FleetVehiclesTab;
|
||||
Reference in New Issue
Block a user