Skip to content

Commit 303fb12

Browse files
committed
docs(react): add default Tab2
1 parent e0cd901 commit 303fb12

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

docs/react/your-first-app/2-taking-photos.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ const Tab2: React.FC = () => {
261261
</IonPage>
262262
);
263263
};
264+
265+
export default Tab2;
264266
```
265267

266268
Within the web browser, click the camera button and take another photo. This time, the photo is displayed in the Photo Gallery!

docs/react/your-first-app/7-live-reload.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ const Tab2: React.FC = () => {
156156
</IonPage>
157157
);
158158
};
159+
160+
export default Tab2;
159161
```
160162

161163
Add a click handler to the `<IonImg>` element. When the app user taps on a photo in our gallery, we’ll display an [Action Sheet](../../api/action-sheet.md) dialog with the option to either delete the selected photo or cancel (close) the dialog.

versioned_docs/version-v7/react/your-first-app/2-taking-photos.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ const Tab2: React.FC = () => {
261261
</IonPage>
262262
);
263263
};
264+
265+
export default Tab2;
264266
```
265267

266268
Within the web browser, click the camera button and take another photo. This time, the photo is displayed in the Photo Gallery!

versioned_docs/version-v7/react/your-first-app/7-live-reload.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,8 @@ const Tab2: React.FC = () => {
156156
</IonPage>
157157
);
158158
};
159+
160+
export default Tab2;
159161
```
160162

161163
Add a click handler to the `<IonImg>` element. When the app user taps on a photo in our gallery, we’ll display an [Action Sheet](../../api/action-sheet.md) dialog with the option to either delete the selected photo or cancel (close) the dialog.

0 commit comments

Comments
 (0)