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

AddProjectSourceRoute.tsx

12 lines395 Bytes

1import type { StaticScreenProps } from "@react-navigation/native";
2import { AddProjectSourceScreen } from "./AddProjectScreen";
3​
4type AddProjectSourceRouteParams = {
5 readonly environmentId?: string | string[];
6};
7​
8export function AddProjectSourceRoute({
9 route,
10}: StaticScreenProps<AddProjectSourceRouteParams | undefined>) {
11 return <AddProjectSourceScreen {...(route.params ?? {})} />;