Skip to content

Commit

Permalink
chore(ts/components/vehicleMarker): add imports
Browse files Browse the repository at this point in the history
  • Loading branch information
firestack committed Oct 17, 2024
1 parent 6b1e922 commit f0cd071
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions assets/src/components/map/markers/vehicleMarker.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
import Leaflet, { LatLngExpression } from "leaflet"
import React, {
PropsWithChildren,
useContext,
useRef,
useState,
useEffect,
} from "react"

import { StateDispatchContext } from "../../../contexts/stateDispatchContext"
import { joinClasses } from "../../../helpers/dom"
import { vehicleLabel } from "../../../helpers/vehicleLabel"
import { statusClasses, drawnStatus } from "../../../models/vehicleStatus"

import { Vehicle } from "../../../realtime"
import { ReactMarker } from "../utilities/reactMarker"

interface VehicleMarkerProps extends PropsWithChildren {
vehicle: Vehicle
isPrimary: boolean
Expand Down

0 comments on commit f0cd071

Please sign in to comment.