我使用本地基础,使应用程序在反应本地。这两件事我都是新手。当我运行这个应用程序时,它会给我一个错误:
这是我的代码:
export default class Point extends Component {
render() {
return (
<Container>
<Header>
<Left>
<Button transparent>
<Icon name='menu' />
</Button>
</Left>
<Body>
<Title>Header</Title>
</Body>
<Right />
</Header>
</Container>
);
}
}
这是我的版本的截图
本地版本是 "native-base": "^2.1.2"