fixed type errors
This commit is contained in:
@@ -2,22 +2,29 @@ import Card from "../UI/Card";
|
||||
import CardHeader from "../UI/CardHeader";
|
||||
|
||||
const SessionCard = () => {
|
||||
function onStart(): void {
|
||||
throw new Error("Function not implemented.");
|
||||
}
|
||||
|
||||
return (
|
||||
<Card>
|
||||
<CardHeader title={"Session"} />
|
||||
<CardHeader title="Session" />
|
||||
<div className="flex flex-col gap-4">
|
||||
<button
|
||||
className="bg-[#26B170] text-white px-4 py-2 rounded hover:bg-green-700 transition w-full max-w-md"
|
||||
//onClick={() => handleModemSave(apn, username, password, authType)}
|
||||
onClick={onStart}
|
||||
>
|
||||
Start Session
|
||||
</button>
|
||||
<h2 className="text-white mb-2">Number of Vehicles: </h2>
|
||||
<h2 className="text-white mb-2">Vehicles without Tax: </h2>
|
||||
<h2 className="text-white mb-2">Vehicles without MOT: </h2>
|
||||
<h2 className="text-white mb-2">Vehicles with NPED Cat A: </h2>
|
||||
<h2 className="text-white mb-2">Vehicles with NPED Cat B: </h2>
|
||||
<h2 className="text-white mb-2">Vehicles with NPED Cat C: </h2>
|
||||
|
||||
<ul className="text-white space-y-2">
|
||||
<li>Number of Vehicles: </li>
|
||||
<li>Vehicles without Tax: </li>
|
||||
<li>Vehicles without MOT: </li>
|
||||
<li>Vehicles with NPED Cat A: </li>
|
||||
<li>Vehicles with NPED Cat B: </li>
|
||||
<li>Vehicles with NPED Cat C: </li>
|
||||
</ul>
|
||||
</div>
|
||||
</Card>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user