25 lines
660 B
TypeScript
25 lines
660 B
TypeScript
import { IonIcon, IonLabel, IonRouterOutlet, IonTabBar, IonTabButton, IonTabs } from '@ionic/react';
|
|
|
|
import { cloudOutline, searchOutline } from 'ionicons/icons';
|
|
import { Route, Redirect } from 'react-router';
|
|
|
|
// import Tab1 from './AppPages/Tab1';
|
|
// import Tab2 from './AppPages/Tab2';
|
|
import Home from './pages/Home';
|
|
|
|
function DemoSkeletonText() {
|
|
return (
|
|
<IonTabs>
|
|
<IonRouterOutlet>
|
|
<Route exact path="/demo-skeleton-text/home">
|
|
<Home />
|
|
</Route>
|
|
|
|
<Redirect exact path="/demo-skeleton-text" to="/demo-skeleton-text/home" />
|
|
</IonRouterOutlet>
|
|
</IonTabs>
|
|
);
|
|
}
|
|
|
|
export default DemoSkeletonText;
|