Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

AddProjectDestinationRoute.tsx

16 lines596 Bytes

1import type { StaticScreenProps } from "@react-navigation/native";
2import { AddProjectDestinationScreen } from "./AddProjectScreen";
3​
4type 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};
11​
12export function AddProjectDestinationRoute({
13 route,
14}: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) {
15 return <AddProjectDestinationScreen {...(route.params ?? {})} />;