import { IonIcon, IonLabel, IonRouterOutlet, IonTabBar, IonTabButton, IonTabs } from '@ionic/react';

import { cloudOutline, searchOutline } from 'ionicons/icons';
import { Route, Redirect } from 'react-router';

// import Tab1 from './AppPages/Tab1';
// import Tab2 from './AppPages/Tab2';

import './style.scss';

function DemoWeatherAppUi() {
  return (
    <IonTabs>
      <IonRouterOutlet>
        <Route exact path="/demo-react-qr-code/home">
          <Tab1 />
        </Route>
        <Route exact path="/demo-react-qr-code/manual">
          <Tab2 />
        </Route>

        <Route exact path="/demo-react-qr-code/camera">
          <Tab3 />
        </Route>

        <Redirect exact path="/demo-react-qr-code" to="/demo-react-qr-code/home" />
      </IonRouterOutlet>
    </IonTabs>
  );
}

export default DemoWeatherAppUi;
