我正在使用 Native Base 来制作 React-Native App。 对这两个东西都很陌生。 当我运行应用程序时,它给了我这个错误:
这是我的代码:
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>
);
}
}
这是我版本的截图这里是我的版本截图: nativebase版本是 "native-base": "^2.1.2"。
index.ios.js
的代码。同时检查是否有其他打包程序正在运行。 - Supriya Kalghatgi