Update ANIMATED.mdx

This commit is contained in:
Marc Rousavy 2021-03-05 11:25:05 +01:00 committed by GitHub
parent d365ae1e83
commit 87f871debf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ export function App() {
} }
``` ```
### Implementation ### Explanation
1. The `Camera` is converted to a reanimated Camera using `Reanimated.createAnimatedComponent` 1. The `Camera` is converted to a reanimated Camera using `Reanimated.createAnimatedComponent`
2. The `zoom` property is added to the whitelisted native props to make it animatable. 2. The `zoom` property is added to the whitelisted native props to make it animatable.