import type { SightingWidgetType } from "../../types/types"; type SightingWidgetDetailsProps = { effectiveSelected: SightingWidgetType | null; }; const SightingWidgetDetails = ({ effectiveSelected, }: SightingWidgetDetailsProps) => { return (
VRM:{" "} {effectiveSelected?.vrm ?? "—"}
Timestamp:{" "} {effectiveSelected?.timeStamp ?? "—"}
Make:{" "} {effectiveSelected?.make ?? "—"}
Model:{" "} {effectiveSelected?.model ?? "—"}
Country:{" "} {effectiveSelected?.countryCode ?? "—"}
Seen:{" "} {effectiveSelected?.seenCount ?? "—"}
Colour:{" "} {effectiveSelected?.color ?? "—"}
Category:{" "} {effectiveSelected?.category ?? "—"}
Char Ht:{" "} {effectiveSelected?.charHeight ?? "—"}
Plate Size:{" "} {effectiveSelected?.plateSize ?? "—"}
Overview Size:{" "} {effectiveSelected?.overviewSize ?? "—"}
{effectiveSelected?.detailsUrl ? (
Sighting Details
) : null}
); }; export default SightingWidgetDetails;