+ Step 3 of 3 - Activate detour
+ Are you sure that you want to activate this detour?
+
+ Once activated, other Skate users, OIOs, and MBTA ridership will see this
+ detour information.
+
+
+ You will still need to radio people / whatever is accurate.
+
+
+)
+
+export const ActivateDetour = {
+ Modal: SurroundingModal,
+ SelectingDuration,
+ SelectingReason,
+ Confirming,
+}
diff --git a/assets/src/components/detours/detourFinishedPanel.tsx b/assets/src/components/detours/detourFinishedPanel.tsx
index efe159823..c993b1f81 100644
--- a/assets/src/components/detours/detourFinishedPanel.tsx
+++ b/assets/src/components/detours/detourFinishedPanel.tsx
@@ -1,19 +1,22 @@
-import React from "react"
+import React, { PropsWithChildren } from "react"
import { Button, Form, OverlayTrigger, Popover } from "react-bootstrap"
import * as BsIcons from "../../helpers/bsIcons"
import { Panel } from "./diversionPage"
+interface DetourFinishedPanelProps extends PropsWithChildren {
+ onNavigateBack: () => void
+ detourText: string
+ onChangeDetourText: (value: string) => void
+ onActivateDetour?: () => void
+}
+
export const DetourFinishedPanel = ({
onNavigateBack,
detourText,
onChangeDetourText,
onActivateDetour,
-}: {
- onNavigateBack: () => void
- detourText: string
- onChangeDetourText: (value: string) => void
- onActivateDetour?: () => void
-}) => (
+ children,
+}: DetourFinishedPanelProps) => (