Skip to content

Commit c3ab23a

Browse files
committed
README is updated
1 parent a3e0adf commit c3ab23a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ npm i react-navigation-helpers
3636

3737
```js
3838
import NavigationService from "react-navigation-helpers";
39+
40+
3941
<MainNavigator
4042
ref={navigatorRef =>
4143
NavigationService.setGlobalLevelNavigator(navigatorRef)
@@ -48,31 +50,31 @@ import NavigationService from "react-navigation-helpers";
4850
#### Navigate Example
4951

5052
```js
51-
NavigationService.navigate("home")
53+
NavigationService.navigate("home")
5254
```
5355

5456
#### Push Example
5557

5658
```js
57-
NavigationService.push("home")
59+
NavigationService.push("home")
5860
```
5961

6062
#### Pop Example
6163

6264
```js
63-
NavigationService.pop()
65+
NavigationService.pop()
6466
```
6567

6668
#### PopToTop Example
6769

6870
```js
69-
NavigationService.popToTop()
71+
NavigationService.popToTop()
7072
```
7173

7274
#### Back Example
7375

7476
```js
75-
NavigationService.back()
77+
NavigationService.back()
7678
```
7779

7880

0 commit comments

Comments
 (0)