Skip to content

Conversation

@gorhom
Copy link
Owner

@gorhom gorhom commented Mar 7, 2021

as suggested here https://twitter.com/jkbace/status/1367990737183272961?s=20

Motivation

now you can modify animation configs per any public method from bottom sheet reference or hook method

// ref
bottomSheetRef.current.snapTo(2, 500, Easing.bounce(14))

// hook
const { snapTo } = useBottomSheet();
snapTo(2, 500, Easing.bounce(14))

@gorhom gorhom added the v3 Written in Reanimated v2 label Mar 7, 2021
@gorhom gorhom merged commit f78a663 into v3 Mar 7, 2021
@gorhom gorhom deleted the feature/allow-modify-animation-configs branch March 7, 2021 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v3 Written in Reanimated v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants