| 1 | import type { StaticScreenProps } from "@react-navigation/native"; |
| 2 | import { AddProjectDestinationScreen } from "./AddProjectScreen"; |
| 3 | |
| 4 | type AddProjectDestinationRouteParams = { |
| 5 | readonly environmentId?: string | string[]; |
| 6 | readonly source?: string | string[]; |
| 7 | readonly remoteUrl?: string | string[]; |
| 8 | readonly repositoryTitle?: string | string[]; |
| 9 | readonly repositoryName?: string | string[]; |
| 10 | /** A prompt link's prompt, for the draft the clone opens. */ |
| 11 | readonly prompt?: string | string[]; |
| 12 | }; |
| 13 | |
| 14 | export function AddProjectDestinationRoute({ |
| 15 | route, |
| 16 | }: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) { |
| 17 | return <AddProjectDestinationScreen {...(route.params ?? {})} />; |
| 18 | } |