📌  相关文章
📜  TypeError:navigation.getParams 不是函数. - Javascript代码示例

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

代码示例1
In react navigation 6 we use route so change navigation to route it should 
look like this

export default function Example({ route }) {
  return (
    
      {route.params.exapmle}
    
  );
}