|
@@ -1,22 +1,23 @@
|
1
|
1
|
import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react';
|
2
|
|
-import ExploreContainer from '../components/ExploreContainer';
|
3
|
2
|
import './Tab1.css';
|
|
3
|
+import '../components/ListComponent'
|
|
4
|
+import ListComponent from '../components/ListComponent';
|
4
|
5
|
|
5
|
6
|
const Tab1: React.FC = () => {
|
6
|
7
|
return (
|
7
|
8
|
<IonPage>
|
8
|
9
|
<IonHeader>
|
9
|
10
|
<IonToolbar>
|
10
|
|
- <IonTitle>Tab 1</IonTitle>
|
|
11
|
+ <IonTitle>List component test!</IonTitle>
|
11
|
12
|
</IonToolbar>
|
12
|
13
|
</IonHeader>
|
13
|
14
|
<IonContent fullscreen>
|
14
|
15
|
<IonHeader collapse="condense">
|
15
|
16
|
<IonToolbar>
|
16
|
|
- <IonTitle size="large">Tab 1</IonTitle>
|
|
17
|
+ <IonTitle size="large">This is a list</IonTitle>
|
17
|
18
|
</IonToolbar>
|
18
|
19
|
</IonHeader>
|
19
|
|
- <ExploreContainer name="Tab 1 page" />
|
|
20
|
+ <ListComponent laws={[]}/>
|
20
|
21
|
</IonContent>
|
21
|
22
|
</IonPage>
|
22
|
23
|
);
|