📌  相关文章
📜  this.props undefined react native - Javascript 代码示例

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

代码示例1
I think you're missing the following, try replacing your constructor:

constructor(props) {
    super(props);

    console.log(this.props)
}