Skip to content

Commit

Permalink
refactor: remove unused file
Browse files Browse the repository at this point in the history
  • Loading branch information
BANG88 committed Nov 5, 2018
1 parent a89ebdd commit 02d6565
Show file tree
Hide file tree
Showing 8 changed files with 62 additions and 173 deletions.
27 changes: 21 additions & 6 deletions rn-kitchen-sink/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import { createStackNavigator } from 'react-navigation';
import { UIVIEWS, UICONTROLS, OTHERS, UIBARS } from './demoList';
import Home from './components/RnIndex'
import {AppRegistry} from 'react-native';
import {createStackNavigator} from 'react-navigation';

// import Home from './components/Home';
import RnIndex from './components/RnIndex';
import WebIndex from './components/WebIndex';
import {OTHERS, UIBARS, UICONTROLS, UIVIEWS} from './demoList';

const getOptions = title => ({
title,
headerStyle: {
Expand All @@ -10,9 +15,17 @@ const getOptions = title => ({
});

const scenes = {
Home: {
screen: Home,
navigationOptions: getOptions('Ant Design Mobile'),
// Home: {
// screen: Home,
// navigationOptions: getOptions('Ant Design Mobile'),
// },
native: {
screen: RnIndex,
navigationOptions: getOptions('Antm React Native'),
},
web: {
screen: WebIndex,
navigationOptions: getOptions('Antm Web Component'),
},
};

Expand All @@ -26,4 +39,6 @@ const scenes = {

const App = createStackNavigator(scenes);

AppRegistry.registerComponent('kitchen-sink', () => App);

export default App;
Binary file removed rn-kitchen-sink/app/assets/display.png
Binary file not shown.
Binary file removed rn-kitchen-sink/app/assets/fullsize.png
Binary file not shown.
43 changes: 0 additions & 43 deletions rn-kitchen-sink/app/manifest.plist

This file was deleted.

17 changes: 0 additions & 17 deletions rn-kitchen-sink/app/qrcode.html

This file was deleted.

23 changes: 0 additions & 23 deletions rn-kitchen-sink/components/appInfo.js

This file was deleted.

Loading

0 comments on commit 02d6565

Please sign in to comment.