TypeError: prop_types__WEBPACK_IMPORTED_MODULE_2___default.a.shapeOf is not a function

前端 未结 0 961
一向
一向 2020-12-14 00:38

I have problem with PropTypes. After added

  user: PropTypes.shapeOf({
    firstName: PropTypes.string.isRequired,
    lastName: PropTypes.string.isRequired,
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题