Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperkapusciak committed Aug 2, 2023
1 parent dd56ee8 commit 3e5bc2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/advanced/useAnimatedRef.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 2

# useAnimatedRef

`useAnimatedRef` lets you get a reference of a view. Used alongside [`measure`](/docs/advanced/measure), `scrollTo`, and `useScrollViewOffset` functions.
`useAnimatedRef` lets you get a reference of a view. Used alongside [`measure`](/docs/advanced/measure), [`scrollTo`](/docs/scroll/scrollTo), and [`useScrollViewOffset`](/docs/scroll/useScrollViewOffset) functions.

An object defined using `useAnimatedRef` has to be passed to the `ref` property of a component.

Expand Down
2 changes: 1 addition & 1 deletion docs/scroll/scrollTo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Provides synchronous scroll on the UI thread to a given offset using an animated

#### `animatedRef`

The product of [`useAnimatedRef`](../hooks/useAnimatedRef) which is Reanimated's extension of a standard React ref (delivers the view tag on the UI thread).
The product of [`useAnimatedRef`](/docs/advanced/useAnimatedRef) which is Reanimated's extension of a standard React ref (delivers the view tag on the UI thread).

#### `x` [Float]

Expand Down

0 comments on commit 3e5bc2a

Please sign in to comment.