update demo-react-switch-tabs,

This commit is contained in:
louiscklaw
2025-06-08 19:07:48 +08:00
parent 766720e075
commit e2076fe67b
15 changed files with 354 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ import { chevronBackOutline, refreshOutline } from 'ionicons/icons';
import './Tab1.css';
const Tab1 = () => {
const Tab1 = (): React.JSX.Element => {
const router = useIonRouter();
function handleBackClick() {

View File

@@ -2,7 +2,7 @@ import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/rea
import ExploreContainer from '../components/ExploreContainer';
import './Tab2.css';
const Tab2 = () => {
const Tab2 = (): React.JSX.Element => {
return (
<IonPage>
<IonHeader>

View File

@@ -2,7 +2,7 @@ import { IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/rea
import ExploreContainer from '../components/ExploreContainer';
import './Tab3.css';
const Tab3 = () => {
const Tab3 = (): React.JSX.Element => {
return (
<IonPage>
<IonHeader>