Failed prop type: TabNavigator: prop type tabBarstyle' is invalid, it must be a function, usualy from the prop-types package, but received 'undefined.
原來是組件本身的問題(未定義)
類似這種問題,最好的解決辦法就是挖根刨地
還有 react 新版本 函數變更影響 按照提示修改就行
把 componentWillReceiveProps 改成 UNSAFE_componentWillReceiveProps