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

AddProjectDestinationRoute.tsx

15 lines549 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};
10​
11export function AddProjectDestinationRoute({
12 route,
13}: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) {
14 return <AddProjectDestinationScreen {...(route.params ?? {})} />;