Skip to content

Commit

Permalink
docs: Improve Zooming documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy authored Jun 9, 2021
1 parent b53b259 commit d60d58b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/docs/guides/ANIMATED.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: animated
title: Zooming with Reanimated
sidebar_label: Zooming with Reanimated
title: Zooming
sidebar_label: Zooming
---

import useBaseUrl from '@docusaurus/useBaseUrl';
Expand All @@ -13,10 +13,6 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
</svg>
</div>

## Animations

Often you'd want to animate specific props in the Camera. For example, if you'd want to create a custom zoom gesture, you can smoothly animate the Camera's `zoom` property.

The `<Camera>` component already provides a natively implemented zoom gesture which you can enable with the [`enableZoomGesture`](/docs/api/interfaces/cameraprops.cameraprops-1#enablezoomgesture) prop. This does not require any additional work, but if you want to setup a custom gesture, such as the one in Snapchat or Instagram where you move up your finger while recording, continue reading.

### Animation libraries
Expand Down

0 comments on commit d60d58b

Please # to comment.