mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
23 lines
410 B
JavaScript
23 lines
410 B
JavaScript
import React, { Component } from 'react';
|
|
import logo from './logo.svg';
|
|
import './App.css';
|
|
|
|
import PageOne from './pages/PageOne';
|
|
|
|
import { Delegate, wc } from '@ionic/react';
|
|
|
|
class App extends Component {
|
|
render() {
|
|
return (
|
|
<ion-app>
|
|
<ion-nav ref={wc({},{
|
|
root: PageOne,
|
|
delegate: Delegate
|
|
})}></ion-nav>
|
|
</ion-app>
|
|
);
|
|
}
|
|
}
|
|
|
|
export default App;
|