import type { SightingWidgetType } from "../../types/types";
type SightingWidgetDetailsProps = {
effectiveSelected: SightingWidgetType | null;
};
const SightingWidgetDetails = ({
effectiveSelected,
}: SightingWidgetDetailsProps) => {
return (
Make:{" "}
{effectiveSelected?.make ?? "—"}
Model:{" "}
{effectiveSelected?.model ?? "—"}
Colour:{" "}
{effectiveSelected?.color ?? "—"}
Category:{" "}
{effectiveSelected?.category ?? "—"}
Char Ht:{" "}
{effectiveSelected?.charHeight ?? "—"}
Plate Size:{" "}
{effectiveSelected?.plateSize ?? "—"}
Overview Size:{" "}
{effectiveSelected?.overviewSize ?? "—"}
Motion:{" "}
{effectiveSelected?.motion ?? "—"}
Seen:{" "}
{effectiveSelected?.seenCount ?? "—"}
Location:{" "}
{effectiveSelected?.locationName ?? "—"}
Lane:{" "}
{effectiveSelected?.laneID ?? "—"}
Radar:{" "}
{effectiveSelected?.radarSpeed ?? "—"}
Track:{" "}
{effectiveSelected?.trackSpeed ?? "—"}
{effectiveSelected?.detailsUrl ? (
) : null}
);
};
export default SightingWidgetDetails;