📜  反应原生应用程序在启动时崩溃 - Javascript 代码示例

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

代码示例1
For those who still have a similar issue,
the key is to replace every use of View.propTypes.style with ViewPropTypes.style
(and make sure that you include a : 
import { ViewPropTypes } from 'react-native';
at the top of the file).