‘children’ is missing in props validation react/prop-types

该文章发布于 ,归类于 未分类。

添加如下规则即可

"react/prop-types": [2, { ignore: ['children'] }]

相关文章