๐Ÿ“ฆ mlynch / ionic-react-routing-case

๐Ÿ“„ Profile.tsx ยท 23 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23import React from 'react';

import { IonHeader, IonToolbar, IonTitle, IonContent, IonButtons, IonBackButton } from "@ionic/react";


export const ProfilePage = () => {
  return (
  <>
    <IonHeader>
      <IonToolbar color="primary">
        <IonButtons slot="start">
          {/* does it make sense this page has a back button? */}
          {/* <IonBackButton defaultHref={`/`} /> */}
        </IonButtons>
        <IonTitle>Profile</IonTitle>
      </IonToolbar>
    </IonHeader>
    <IonContent>
      <h2>Profile page</h2>
    </IonContent>
  </>
  );
};