MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / TripOverviewProps

Interface TripOverviewProps

web/src/components/RiderTripOverview.tsx:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { TripEvents, PaymentEventSessionCreatedData } from "../contracts"
11
12interface TripOverviewProps {
13 trip: TripPreview | null;
14 status: TripEvents | null;
15 assignedDriver?: Driver | null;
16 paymentSession?: PaymentEventSessionCreatedData | null;
17 onPackageSelect: (carPackage: RouteFare) => void;
18 onCancel: () => void;
19}
20
21export const RiderTripOverview = ({
22 trip,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected