Skip to content

Commit 2d13d68

Browse files
Dylan PinnJustkant
Dylan Pinn
authored andcommitted
Remove extra backtick in README2.md (aksonov#1874)
This removes the extra backtick under Route Type so it is consistant.
1 parent 7545250 commit 2d13d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ npm i react-native-router-flux --save
3838
|-----------|--------|---------|--------------------------------------------|
3939
| name | string | required | Will be used to call screen transition, for example, `Actions.name(params)`. Must be unique. |
4040
| component | React.Component | semi-required | The `Component` to be displayed. Not required when defining a nested `Router` or child, see example |
41-
| type | string | optional | Defines how the new screen is added to the navigator stack. One of `push`, `modal`,`actionSheet`,`replace`, `switch`, `reset` `transitionToTop`. Default is 'push'. `replace` tells navigator to replace current route with new route. `actionSheet` shows Action Sheet popup, you must pass callback as callback function, check Example for details. `modal` type inserts its 'component' after navigator component. It could be used for popup alerts as well for various needed processes before any navigator transitions (like login auth process).``switch` is used for tab screens. `reset` is similar to replace except it unmounts the componets in the navigator stack. `modal` component could be dismissed by using Actions.dismiss() `transitionToTop` will reset router stack ['route.name'] and with animation, if route has `sceneConfig`. eg `<Route name="login" schema="modal" component={Login} type="transitionToTop" />` |
41+
| type | string | optional | Defines how the new screen is added to the navigator stack. One of `push`, `modal`,`actionSheet`,`replace`, `switch`, `reset` `transitionToTop`. Default is 'push'. `replace` tells navigator to replace current route with new route. `actionSheet` shows Action Sheet popup, you must pass callback as callback function, check Example for details. `modal` type inserts its 'component' after navigator component. It could be used for popup alerts as well for various needed processes before any navigator transitions (like login auth process).`switch` is used for tab screens. `reset` is similar to replace except it unmounts the componets in the navigator stack. `modal` component could be dismissed by using Actions.dismiss() `transitionToTop` will reset router stack ['route.name'] and with animation, if route has `sceneConfig`. eg `<Route name="login" schema="modal" component={Login} type="transitionToTop" />` |
4242
| initial | bool | false | Set to `true` if this is the initial screen |
4343
| title | string | null | The title to be displayed in the navigation bar |
4444
| schema | string | optional | Set this property to the name of a previously defined `Schema` to inherit its properties |

0 commit comments

Comments
 (0)