Skip to content

Commit

Permalink
Fix: links to examples in docs (software-mansion#802)
Browse files Browse the repository at this point in the history
## Description

Links are broken since files from Examples were moved to Examples/src in software-mansion#709

## Changes

Fixed links to examples folders
  • Loading branch information
headfire94 authored May 24, 2020
1 parent 94850e6 commit 3054a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/10.event.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Event handling with reanimated nodes
`react-native-reanimated`'s new syntax is possible to be used with `Animated.event`. Instead of providing only a mapping from event fields to animated nodes, it is allowed to write a function that takes reanimated values map as an input and return a block (or any other reanimated function) that will be then used to handle the event.

This syntax allows for providing some post-processing for the event data that does not fit well as a dependency of other nodes we connect to `Animated.View` component props.
[See example](https://github.com/software-mansion/react-native-reanimated/blob/master/Example/PanRotateAndZoom/index.js)
[See example](https://github.com/software-mansion/react-native-reanimated/blob/master/Example/src/PanRotateAndZoom/index.js)

```js
this.onGestureEvent = event([
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/12.animations/springUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ Transforms an object with `bounciness` and `speed` params into config expected b

Transforms an object with `tension` and `friction` params into config expected by the `spring` node. `tension` and `friction` might be nodes or numbers.

See an [Example of different configs](https://github.com/software-mansion/react-native-reanimated/blob/master/Example/differentSpringConfigs/index.js).
See an [Example of different configs](https://github.com/software-mansion/react-native-reanimated/blob/master/Example/src/differentSpringConfigs/index.js).

0 comments on commit 3054a15

Please sign in to comment.