Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

Commit 5c53b58

Browse files
committed
README
1 parent 6ad887e commit 5c53b58

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,22 @@ class App extends React.Component {
4242
views: [
4343
<LoginView />
4444
],
45+
4546
// If set to true, the navigation will save the state of each view that
4647
// pushed onto the stack. When `popView()` is called, the navigationController
4748
// will rehydrate the state of the view before it is shown.
4849
// Defaults to false
4950
// NOTE: This can only be updated via `setViews()`
50-
preserveState: true
51+
preserveState: true,
52+
53+
// The spring tension for transitions
54+
// http://facebook.github.io/rebound-js/docs/rebound.html
55+
// Defaults to 10
56+
transitionTension: 12,
57+
58+
// The spring friction for transitions
59+
// Defaults to 6
60+
transitionFriction: 5
5161
};
5262
return (
5363
<NavigationController {...props} />

0 commit comments

Comments
 (0)