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

Interface RiderMapProps

web/src/components/RiderMap.tsx:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29});
30
31interface RiderMapProps {
32 onRouteSelected?: (distance: number) => void;
33}
34
35export default function RiderMap({ onRouteSelected }: RiderMapProps) {
36 const [trip, setTrip] = useState<TripPreview | null>(null)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected