Skip to content

Commit

Permalink
fix: screen prop
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 4, 2024
1 parent 2ae4a16 commit ce18ab1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/Screen.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { HeaderButtonProps } from "@react-navigation/native-stack/src/types";
import { NativeStackHeaderRightProps } from "@react-navigation/native-stack/src/types";
import { Stack } from "expo-router";
import { StackAnimationTypes } from "react-native-screens";

type ScreenProps = {
title: string;
right?: (props: HeaderButtonProps) => React.ReactNode;
right?: (props: NativeStackHeaderRightProps) => React.ReactNode;
animation?: StackAnimationTypes;
};

Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.26.2.tgz#278b6b13664557de95b8f35b90d96785850bb56e"
integrity sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==

"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.20.0", "@babel/core@^7.23.9", "@babel/core@^7.25.2":
"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.13.16", "@babel/core@^7.20.0", "@babel/core@^7.23.9", "@babel/core@^7.25.2", "@babel/core@^7.26.0":
version "7.26.0"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.26.0.tgz#d78b6023cc8f3114ccf049eb219613f74a747b40"
integrity sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==
Expand Down

0 comments on commit ce18ab1

Please sign in to comment.