import { IonRouterOutlet, IonTabs } from '@ionic/react';

import { Route, Redirect } from 'react-router';

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

// import './style.scss';
import Home from './pages/Home';

function DemoReactProfileDashboardUi() {
  return (
    <IonTabs className="demo-react-profile-dashboard-ui">
      <IonRouterOutlet>
        <Route exact path="/demo-react-profile-dashboard-ui/home">
          <Home />
        </Route>

        <Redirect
          exact
          path="/demo-react-profile-dashboard-ui"
          to="/demo-react-profile-dashboard-ui/home"
        />
      </IonRouterOutlet>
    </IonTabs>
  );
}

export default DemoReactProfileDashboardUi;
