mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 13:01:01 +08:00
chore(packages): move the packages to root
This commit is contained in:
22
demos/react/src/App.js
Normal file
22
demos/react/src/App.js
Normal file
@ -0,0 +1,22 @@
|
||||
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;
|
Reference in New Issue
Block a user