Skip to content

Commit

Permalink
添加图标
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYaodong committed Jun 26, 2017
1 parent 2d1d8af commit 2feb5b5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
Binary file modified Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions Example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
"dependencies": {
"react": "^16.0.0-alpha.12",
"react-native": "^0.45.1",
"react-native-router-flux": "^4.0.0-alpha.4",
"react-native-router-flux": "^3.40.1",
"react-native-side-menu": "^0.20.3",
"react-native-vector-icons": "^4.2.0"
"react-native-tree": "file:../",
"react-redux": "^5.0.5",
"redux": "^3.7.1"
},
"devDependencies": {
"babel-jest": "20.0.3",
Expand Down
5 changes: 3 additions & 2 deletions Example/src/globals.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React, { PropTypes, Component } from 'react';
import { Router, Scene, TabBar, Actions } from 'react-native-router-flux';
import {
AppRegistry, Text, View, ScrollView, TouchableHighlight, TouchableOpacity, Dimensions
AppRegistry, Text, View, ScrollView, TouchableHighlight, TouchableOpacity
} from 'react-native';

const SideMenu = require('react-native-side-menu');
import Icon from 'react-native-vector-icons/FontAwesome';

Expand All @@ -21,6 +22,6 @@ global.View = View;
global.ScrollView = ScrollView;
global.TouchableHighlight = TouchableHighlight;
global.TouchableOpacity = TouchableOpacity;

let Dimensions = require('Dimensions');
global.ScreenWidth = Dimensions.get('window').width;
global.ScreenHeight = Dimensions.get('window').height;
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Tree from './src/Tree';

export {
Tree,
Tree
};
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"start": "node node_modules/react-native/local-cli/cli.js start"
},
"dependencies": {
"react": "^16.0.0-alpha.12",
"react-native": "^0.45.1",
"react-native-vector-icons": "^4.2.0"
},
"description": "[![NPM](https://nodei.co/npm/react-native-router-flux.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-native-router-flux/) \r Router for React Native based on new React Native Navigation API.",
Expand Down

0 comments on commit 2feb5b5

Please sign in to comment.