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

AddProjectDestinationRoute.tsx

17 lines635 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 readonly prompt?: string | string[];
11};
12​
13export function AddProjectDestinationRoute({
14 route,
15}: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) {
16 return <AddProjectDestinationScreen {...(route.params ?? {})} />;