defaultProps should be declared outside the class body

前端 未结 0 1077
忘了有多久
忘了有多久 2020-11-22 12:08

everyone. I have this code which causes an error "\'defaultProps\' should be declared outside the class body". Kindly, anyone help me.

import React,         


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