Created
June 6, 2019 15:01
-
-
Save aaronksaunders/7d7c12f217da980bb03cd54aa1df9b81 to your computer and use it in GitHub Desktop.
Markdium-Ionic React (Beta) Tabs: Step By Step
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// FILE: TabRoot.tsx | |
<IonRouterOutlet> | |
<Route path="/:tab(tab1)" component={Tab1} exact={true} /> | |
<Route path="/:tab(tab2)" component={Tab2} /> | |
<Route path="/" render={() => <Redirect to="/tab1" />} /> | |
</IonRouterOutlet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment