-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
您好,代码clone下来后,npm i之后,app启动出错。信息如下
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in.
Check the render method of contentComponent.
把app.js中的以下代码注释掉,就能运行了
contentComponent: props => (
<Image
source={require('./images/run.png')}
style={[styles.icon]}
/>
<DrawerView.Items {...props}/>
)
Metadata
Metadata
Assignees
Labels
No labels