mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(react): IonTabButton will call custom onClick handlers (#25313)
Resolves #22511
This commit is contained in:
@ -4,11 +4,10 @@ import {
|
||||
IonHeader,
|
||||
IonLabel,
|
||||
IonPage,
|
||||
|
||||
IonTitle,
|
||||
IonToolbar,
|
||||
IonItem,
|
||||
IonList
|
||||
IonList,
|
||||
} from '@ionic/react';
|
||||
|
||||
interface MainProps {}
|
||||
@ -32,6 +31,11 @@ const Main: React.FC<MainProps> = () => {
|
||||
<IonLabel>Overlay Components</IonLabel>
|
||||
</IonItem>
|
||||
</IonList>
|
||||
<IonList>
|
||||
<IonItem routerLink="/tabs">
|
||||
<IonLabel>Tabs</IonLabel>
|
||||
</IonItem>
|
||||
</IonList>
|
||||
</IonContent>
|
||||
</IonPage>
|
||||
);
|
||||
|
Reference in New Issue
Block a user