Skip to content

Commit 2949f7e

Browse files
committed
README is updated
1 parent 4a297e2 commit 2949f7e

36 files changed

+1
-892
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ NavigationService.push("home", { data: myData, myId: "d1f01df1" });
122122
## How to receive the passed props from navigation or push functions?
123123

124124
```js
125-
const data = props.navigation.getParam("data", null); // Second one is default value
126-
const myId = props.navigation.getParam("myId", ""); // Second one is default value
125+
const { data, id } = this.props.route.params;
127126
```
128127

129128
### Configuration - Props

example/__tests__/App-test.js

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

example/android/app/build_defs.bzl

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

example/android/app/debug.keystore

-2.2 KB
Binary file not shown.

example/android/app/proguard-rules.pro

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

example/android/app/src/debug/AndroidManifest.xml

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

example/android/app/src/debug/java/com/example/ReactNativeFlipper.java

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

example/android/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 27 deletions
This file was deleted.
-2.98 KB
Binary file not shown.
-4.91 KB
Binary file not shown.

0 commit comments

Comments
 (0)