40 lines
948 B
TypeScript
40 lines
948 B
TypeScript
import { IonApp, setupIonicReact } from '@ionic/react';
|
|
|
|
/* Core CSS required for Ionic components to work properly */
|
|
import '@ionic/react/css/core.css';
|
|
|
|
/* Basic CSS for apps built with Ionic */
|
|
import '@ionic/react/css/normalize.css';
|
|
import '@ionic/react/css/structure.css';
|
|
import '@ionic/react/css/typography.css';
|
|
|
|
/* Optional CSS utils that can be commented out */
|
|
import '@ionic/react/css/padding.css';
|
|
import '@ionic/react/css/float-elements.css';
|
|
import '@ionic/react/css/text-alignment.css';
|
|
import '@ionic/react/css/text-transformation.css';
|
|
import '@ionic/react/css/flex-utils.css';
|
|
import '@ionic/react/css/display.css';
|
|
|
|
/* Theme variables */
|
|
import './theme/variables.css';
|
|
|
|
/* Components */
|
|
|
|
import LiveMap from './components/live-map'
|
|
import React from 'react';
|
|
|
|
setupIonicReact();
|
|
|
|
|
|
const App: React.FC = () => (
|
|
|
|
<IonApp>
|
|
<React.StrictMode>
|
|
<LiveMap />
|
|
</React.StrictMode>
|
|
</IonApp>
|
|
);
|
|
|
|
export default App;
|