Co-authored-by: codex <[email protected]> Co-authored-by: Julius Marminge <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
16 lines
549 B
TypeScript
16 lines
549 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[];
|
|
};
|
|
|
|
export function AddProjectDestinationRoute({
|
|
route,
|
|
}: StaticScreenProps<AddProjectDestinationRouteParams | undefined>) {
|
|
return <AddProjectDestinationScreen {...(route.params ?? {})} />;
|
|
}
|