mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 14:14:55 +00:00
fix: missing files
This commit is contained in:
46
packages/ui/src/ionic.ts
Normal file
46
packages/ui/src/ionic.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
import {
|
||||
setupIonicReact,
|
||||
IonApp, IonPage,
|
||||
IonNav, IonNavLink, IonContent,
|
||||
IonHeader, IonBackButton,
|
||||
IonButtons, IonToolbar, IonLoading,
|
||||
IonTitle, IonButton, IonAlert,
|
||||
IonInput, IonTextarea, IonIcon,
|
||||
IonBadge, IonTabs, IonTab, IonTabBar,
|
||||
IonTabButton, IonModal, IonLabel,
|
||||
IonList, IonItem, IonDatetime,
|
||||
IonDatetimeButton, IonRefresher,
|
||||
IonRefresherContent, IonMenu,
|
||||
IonMenuButton, IonActionSheet, IonSearchbar,
|
||||
IonRouterOutlet
|
||||
} from '@ionic/react'
|
||||
|
||||
declare global {
|
||||
var LSIonic: any
|
||||
}
|
||||
|
||||
const ionicUI = {
|
||||
IonApp,
|
||||
IonPage,
|
||||
IonNav, IonNavLink, IonContent,
|
||||
IonHeader, IonBackButton,
|
||||
IonButtons, IonToolbar, IonLoading,
|
||||
IonTitle, IonButton, IonAlert,
|
||||
IonInput, IonTextarea, IonIcon,
|
||||
IonBadge, IonTabs, IonTab, IonTabBar,
|
||||
IonTabButton, IonModal, IonLabel,
|
||||
IonList, IonItem, IonDatetime,
|
||||
IonDatetimeButton, IonRefresher,
|
||||
IonRefresherContent, IonMenu,
|
||||
IonMenuButton, IonActionSheet, IonSearchbar,
|
||||
IonRouterOutlet
|
||||
}
|
||||
|
||||
// initialize ionic mode
|
||||
setupIonicReact()
|
||||
|
||||
window.LSIonic = ionicUI
|
||||
|
||||
export {
|
||||
setupIonicReact,
|
||||
}
|
||||
Reference in New Issue
Block a user