Skip to content

Commit d42b7d3

Browse files
committed
docs(README): change the readme
1 parent d581205 commit d42b7d3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ npm install react-native-picker-xg --save
8080
* Step2--init an react-native project
8181
* Step3--copy the zip's content into your project
8282
* Step4--change the index.android.js's last line ``AppRegistry.registerComponent('widgets', () => TpickerEx);``'s widgets into your project's name.
83-
* Step5--npm install
83+
* Step5--change the yourownip in line 19 in example/index.js to your own ip
84+
* Step6--npm install
8485

8586

example/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import {
1414
import Test3, {CascadePicker} from '../app/pickerLogic/picker';
1515
import styles from './style';
1616
import {wheel2} from './data';
17-
const ip = 'http://172.18.47.119:3000/';
17+
18+
// your own ip
19+
const ip = 'http://yourownip:3000/';
1820

1921

2022
export default class TpickerEx extends Component {

0 commit comments

Comments
 (0)