diff --git a/releases/next/docs/animations.html b/releases/next/docs/animations.html index d9d278e3cdf..21b07eba1b1 100644 --- a/releases/next/docs/animations.html +++ b/releases/next/docs/animations.html @@ -85,7 +85,10 @@ back down to zero at 100 followed by a dead-zone that remains at 0 for everything beyond that, you could do:
Which would map like so:
| Input | Output |
|---|---|
| -400 | 450 |
| -300 | 300 |
| -200 | 150 |
| -100 | 0 |
| -50 | 0.5 |
| 0 | 1 |
| 50 | 0.5 |
| 100 | 0 |
| 101 | 0 |
| 200 | 0 |
interpolation also supports arbitrary easing functions, many of which are
+});
Which would map like so:
| Input | Output |
|---|---|
| -400 | 450 |
| -300 | 300 |
| -200 | 150 |
| -100 | 0 |
| -50 | 0.5 |
| 0 | 1 |
| 50 | 0.5 |
| 100 | 0 |
| 101 | 0 |
| 200 | 0 |
interpolate also supports mapping to strings, allowing you to animate colors as well as values with units. For example, if you wanted to animate a rotation you could do:
interpolation also supports arbitrary easing functions, many of which are
already implemented in the
Easing
class including quadratic, exponential, and bezier curves as well as functions
diff --git a/releases/next/docs/cameraroll.html b/releases/next/docs/cameraroll.html
index 51b5ca75651..2b43a562538 100644
--- a/releases/next/docs/cameraroll.html
+++ b/releases/next/docs/cameraroll.html
@@ -19,7 +19,7 @@ const {
TouchableOpacity
} = ReactNative;
-const invariant = require('invariant');
+const invariant = require('fbjs/lib/invariant');
const CameraRollView = require('./CameraRollView');