Files
Mav-Mobile-UI/src/components/SessionForm/SessionCard.tsx

38 lines
1012 B
TypeScript
Raw Normal View History

import { useSound } from "react-sounds";
import Card from "../UI/Card";
import CardHeader from "../UI/CardHeader";
const SessionCard = () => {
const { play } = useSound("notification/notification");
// function onStart(): void {
// throw new Error("Function not implemented.");
// }
2025-09-16 14:20:38 +01:00
return (
<Card>
2025-09-16 14:20:38 +01:00
<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"
onClick={() => {
play();
}}
>
Start Session
</button>
2025-09-16 14:20:38 +01:00
<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>
);
};
export default SessionCard;