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

AddProjectDestinationRoute.tsx

19 lines783 Bytes

1import type { StaticScreenProps } from "@react-navigation/native";
2import type { ScopedThreadRef, TurnItemId } from "@t3tools/contracts";
3import { AddProjectDestinationScreen } from "./AddProjectScreen";
4​
5type AddProjectDestinationRouteParams = {
6 readonly environmentId?: string | string[];
7 readonly source?: string | string[];
8 readonly remoteUrl?: string | string[];
9 readonly repositoryTitle?: string | string[];
10 readonly repositoryName?: string | string[];
11 readonly prompt?: string | string[];
12 readonly handoff?: ScopedThreadRef & { readonly turnItemId?: TurnItemId };
13};
14​
15export function AddProjectDestinationRoute({
16 route,
17}: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) {
18 return <AddProjectDestinationScreen {...(route.params ?? {})} />;