0

I am new to react native.

After implementing native-base in my project, I am getting this error:

enter image description here

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>
    );
  }
}
Ghulam Rasool
  • 3,996
  • 2
  • 27
  • 40

0 Answers0