File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
versioned_docs/version-v7/react Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -223,21 +223,23 @@ const Tab2: React.FC = () => {
223223 <IonTitle >Photo Gallery</IonTitle >
224224 </IonToolbar >
225225 </IonHeader >
226- <IonContent >
226+ <IonContent fullscreen >
227227 <IonHeader collapse = " condense" >
228228 <IonToolbar >
229229 <IonTitle size = " large" >Photo Gallery</IonTitle >
230230 </IonToolbar >
231231 </IonHeader >
232+
232233 { /* CHANGE: Add the floating action button */ }
233234 <IonFab vertical = " bottom" horizontal = " center" slot = " fixed" >
234235 <IonFabButton >
235236 <IonIcon icon = { camera } ></IonIcon >
236237 </IonFabButton >
237238 </IonFab >
239+
240+ { /* CHANGE: Remove or comment out `ExploreContainer` */ }
241+ { /* <ExploreContainer name="Tab 2 page" /> */ }
238242 </IonContent >
239- { /* CHANGE: Remove or comment out `ExploreContainer` */ }
240- { /* <ExploreContainer name="Tab 2 page" /> */ }
241243 </IonPage >
242244 );
243245};
Original file line number Diff line number Diff line change @@ -223,21 +223,23 @@ const Tab2: React.FC = () => {
223223 <IonTitle >Photo Gallery</IonTitle >
224224 </IonToolbar >
225225 </IonHeader >
226- <IonContent >
226+ <IonContent fullscreen >
227227 <IonHeader collapse = " condense" >
228228 <IonToolbar >
229229 <IonTitle size = " large" >Photo Gallery</IonTitle >
230230 </IonToolbar >
231231 </IonHeader >
232+
232233 { /* CHANGE: Add the floating action button */ }
233234 <IonFab vertical = " bottom" horizontal = " center" slot = " fixed" >
234235 <IonFabButton >
235236 <IonIcon icon = { camera } ></IonIcon >
236237 </IonFabButton >
237238 </IonFab >
239+
240+ { /* CHANGE: Remove or comment out `ExploreContainer` */ }
241+ { /* <ExploreContainer name="Tab 2 page" /> */ }
238242 </IonContent >
239- { /* CHANGE: Remove or comment out `ExploreContainer` */ }
240- { /* <ExploreContainer name="Tab 2 page" /> */ }
241243 </IonPage >
242244 );
243245};
You can’t perform that action at this time.
0 commit comments