Skip to content

Commit 7ecef1b

Browse files
committed
Fix the description for reset
1 parent 5bddf22 commit 7ecef1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

versioned_docs/version-5.x/navigation-prop.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Each `screen` component in your app is provided with the `navigation` prop autom
88

99
- `navigation`
1010
- `navigate` - go to another screen, figures out the action it needs to take to do it
11-
- `reset` - wipe the navigator state and replace it with a new route
11+
- `reset` - replace the navigation state of the navigator to the given state
1212
- `goBack` - close active screen and move back in the stack
1313
- `setParams` - make changes to route's params
1414
- `dispatch` - send an action object to update the [navigation state](navigation-state.md)

versioned_docs/version-6.x/navigation-prop.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Each `screen` component in your app is provided with the `navigation` prop autom
88

99
- `navigation`
1010
- `navigate` - go to another screen, figures out the action it needs to take to do it
11-
- `reset` - wipe the navigator state and replace it with a new route
11+
- `reset` - replace the navigation state of the navigator to the given state
1212
- `goBack` - close active screen and move back in the stack
1313
- `setParams` - make changes to route's params
1414
- `dispatch` - send an action object to update the [navigation state](navigation-state.md)

versioned_docs/version-7.x/navigation-object.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `navigation` object contains various convenience functions that dispatch nav
1111

1212
- `navigation`
1313
- `navigate` - go to another screen, figures out the action it needs to take to do it
14-
- `reset` - wipe the navigator state and replace it with a new route
14+
- `reset` - replace the navigation state of the navigator to the given state
1515
- `goBack` - close active screen and move back in the stack
1616
- `setParams` - make changes to route's params
1717
- `dispatch` - send an action object to update the [navigation state](navigation-state.md)

0 commit comments

Comments
 (0)