I am new to react native.
After implementing native-base in my project, I am getting this error:
Here is my code:
import React, { Component } from 'react';
import { View, Text } from 'react-native';
import {Header,Left,Right,Icon} from 'native-base'
export default class DiningAreas extends Component {
constructor(props) {
super(props);
this.state = {
};
}
render() {
return (
<View>
<Header>
<Left Icon = 'menu'/>
</Header>
<Text> DiningAreas </Text>
</View>
);
}
}