-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lacking transformation of useAnimatedScrollHandler function argum…
…ent to plugin (#4355) ## Summary `useAnimatedScrollHandler` can take a single function as an argument instead of an object containing functions. Functionality for this transformation was lacking in plugin and this PR adds it. I duplicated current tests for `objectHooks` for both `useAnimatedGestureHandler` and `useAnimatedScrollHandler` to have them separated and added tests according to this PR. ## Test plan Run tests and build Example app to see that `useAnimatedScrollHandler` works properly now.
- Loading branch information
Showing
5 changed files
with
316 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.