mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-03-27 22:55:56 +08:00
11 lines
304 B
JavaScript
11 lines
304 B
JavaScript
import { AppRegistry } from 'react-native'
|
|
import App from './components/App'
|
|
import Game2048 from './2048/Game2048'
|
|
import TicTacToeApp from './TicTacToe/TicTacToe'
|
|
|
|
AppRegistry.registerComponent('App', () => App)
|
|
|
|
AppRegistry.runApplication('App', {
|
|
rootTag: document.getElementById('react-root')
|
|
})
|