From e3039624a772faa4a498bae713fbfa3f5f782d54 Mon Sep 17 00:00:00 2001 From: Leon Date: Sun, 10 Jul 2016 12:19:21 +0200 Subject: [PATCH 1/2] Document PopNum --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cad5fa929..d3315eea2 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ import {Actions} from 'react-native-router-flux' And then: * `Actions.ACTION_NAME(PARAMS)` will call the appropriate action and params will be passed to the scene. -* `Actions.pop()` will pop the current screen. +* `Actions.pop()` will pop the current screen. It takes also param {popNum: [number]} to pop multiple screens at once. * `Actions.refresh(PARAMS)` will update the properties of the current screen. ## Production Apps using react-native-router-flux From 960c0683893db39c419fe8fa962daaf52739b8c1 Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 11 Jul 2016 17:59:19 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d3315eea2..1b58a4ad8 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ import {Actions} from 'react-native-router-flux' And then: * `Actions.ACTION_NAME(PARAMS)` will call the appropriate action and params will be passed to the scene. -* `Actions.pop()` will pop the current screen. It takes also param {popNum: [number]} to pop multiple screens at once. +* `Actions.pop()` will pop the current screen. It can also take a param `{popNum: [number]}` that allows to pop multiple screens at once. * `Actions.refresh(PARAMS)` will update the properties of the current screen. ## Production Apps using react-native-router-flux