Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: codex <[email protected]>
17 lines
596 B
TypeScript
17 lines
596 B
TypeScript
import type { StaticScreenProps } from "@react-navigation/native";
|
|
import { AddProjectDestinationScreen } from "./AddProjectScreen";
|
|
|
|
type AddProjectDestinationRouteParams = {
|
|
readonly environmentId?: string | string[];
|
|
readonly source?: string | string[];
|
|
readonly remoteUrl?: string | string[];
|
|
readonly repositoryTitle?: string | string[];
|
|
readonly repositoryName?: string | string[];
|
|
};
|
|
|
|
export function AddProjectDestinationRoute({
|
|
route,
|
|
}: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) {
|
|
return <AddProjectDestinationScreen {...(route.params ?? {})} />;
|
|
}
|