📌  相关文章
📜  &#39;NavigationProp 类型上不存在 react-native 属性&#39;replace&#39; <ParamListBase, string, Readonly - Whatever Code Example

📅  最后修改于: 2022-03-11 15:00:47.078000             🧑  作者: Mango

代码示例1
import { StackNavigationProp } from '@react-navigation/stack';
import { useNavigation } from '@react-navigation/native';

const navigation = useNavigation>();


navigation.replace('Screen name');