update DemoStickyBottomSheetExample,
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { IonIcon, IonLabel, IonRouterOutlet, IonTabBar, IonTabButton, IonTabs } from '@ionic/react';
|
||||
import { IonRouterOutlet, IonTabs } from '@ionic/react';
|
||||
|
||||
import { cloudOutline, searchOutline } from 'ionicons/icons';
|
||||
import { Route, Redirect } from 'react-router';
|
||||
|
||||
import './theme/variables.scss';
|
||||
import Home from './pages/Home';
|
||||
import React from 'react';
|
||||
|
||||
function DemoStickyBottomSheetExample() {
|
||||
function DemoStickyBottomSheetExample(): React.JSX.Element {
|
||||
return (
|
||||
<IonTabs className="demo-sticky-bottom-sheet-example">
|
||||
<IonRouterOutlet>
|
||||
@@ -20,18 +20,6 @@ function DemoStickyBottomSheetExample() {
|
||||
to="/demo-sticky-bottom-sheet-example/home"
|
||||
/>
|
||||
</IonRouterOutlet>
|
||||
|
||||
{/* */}
|
||||
<IonTabBar slot="bottom">
|
||||
<IonTabButton tab="tab1" href="/demo-sticky-bottom-sheet-example/tab1">
|
||||
<IonIcon icon={cloudOutline} />
|
||||
<IonLabel>Dashboard</IonLabel>
|
||||
</IonTabButton>
|
||||
<IonTabButton tab="tab2" href="/demo-sticky-bottom-sheet-example/tab2">
|
||||
<IonIcon icon={searchOutline} />
|
||||
<IonLabel>Search</IonLabel>
|
||||
</IonTabButton>
|
||||
</IonTabBar>
|
||||
</IonTabs>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user