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

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
andy committed Nov 12, 2019
1 parent ce7bacb commit a6d9b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ style: ViewStyle;
There are a number of useful hooks you can use in your screens when you wrap `<Pager />` in a `<PagerProvider />`

```typescript
usePager(): [activeIndex, onChange, translationValue, animatedIndex]
usePager(): [activeIndex, onChange, animatedIndex]
useFocus(): boolean -> is screen focused
useOffset(index: number) -> animatedIndex value relative to the given index
useOnFocus(fn) -> fn() to fire on screen focus
Expand Down

0 comments on commit a6d9b1a

Please sign in to comment.