Skip to content

Commit ef239c9

Browse files
committed
migrate to expo example
1 parent 293c614 commit ef239c9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+12375
-3027
lines changed

examples/.babelrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/.buckconfig

Lines changed: 0 additions & 6 deletions
This file was deleted.

examples/.expo/packager-info.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"devToolsPort": 19002,
3+
"expoServerPort": 19000,
4+
"packagerPort": 19001,
5+
"packagerPid": 13589,
6+
"expoServerNgrokUrl": "https://w3-vvy.anonymous.examples.exp.direct",
7+
"packagerNgrokUrl": "https://packager.w3-vvy.anonymous.examples.exp.direct",
8+
"ngrokPid": 13636
9+
}

examples/.expo/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hostType": "lan",
3+
"lanType": "ip",
4+
"dev": true,
5+
"minify": false,
6+
"urlRandomness": "w3-vvy"
7+
}

examples/.flowconfig

Lines changed: 0 additions & 54 deletions
This file was deleted.

examples/.gitattributes

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/.gitignore

Lines changed: 0 additions & 56 deletions
This file was deleted.

examples/.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

examples/App.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import React from 'react';
2+
import Demo from './Demo';
3+
4+
export default class App extends React.Component {
5+
render() {
6+
return (
7+
<Demo/>
8+
);
9+
}
10+
}

examples/Demo.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import ExtensionExample from './ExtensionExample';
99
import ModalExample from './ModalExample';
1010
import StylingExample from './StylingExample';
1111
import NonRootExample from './NonRootExample';
12-
// import NavigatorExample from './NavigatorExample';
1312
import TouchableExample from './TouchableExample';
1413
import MenuMethodsExample from './MenuMethodsExample';
1514
import CloseOnBackExample from './CloseOnBackExample';
@@ -27,8 +26,6 @@ const demos = [
2726
{ Component: StylingExample, name: 'Styling example' },
2827
{ Component: TouchableExample, name: 'Touchable config example' },
2928
{ Component: NonRootExample, name: 'Non root example' },
30-
// FIXME demo is not working now
31-
// { Component: NavigatorExample, name: 'Example with react-native-router-flux' },
3229
{ Component: CloseOnBackExample, name: 'Close on back button press example' },
3330
{ Component: FlatListExample, name: 'Using FlatList' },
3431
{ Component: InFlatListExample, name: 'Menu in FlatList' },

0 commit comments

Comments
 (0)