Skip to content

Commit

Permalink
docs(README): change the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lulutia committed Mar 30, 2017
1 parent d581205 commit d42b7d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ npm install react-native-picker-xg --save
* Step2--init an react-native project
* Step3--copy the zip's content into your project
* Step4--change the index.android.js's last line ``AppRegistry.registerComponent('widgets', () => TpickerEx);``'s widgets into your project's name.
* Step5--npm install
* Step5--change the yourownip in line 19 in example/index.js to your own ip
* Step6--npm install


4 changes: 3 additions & 1 deletion example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ import {
import Test3, {CascadePicker} from '../app/pickerLogic/picker';
import styles from './style';
import {wheel2} from './data';
const ip = 'http://172.18.47.119:3000/';

// your own ip
const ip = 'http://yourownip:3000/';


export default class TpickerEx extends Component {
Expand Down

0 comments on commit d42b7d3

Please sign in to comment.