software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
8.67k stars 1.27k forks source link

Change the docs to mention, that `.springify()` works with `.duration()` #5990

Closed Latropos closed 2 months ago

Latropos commented 2 months ago

Summary

Right now in our docs [LINK] we say, thet springify doesn't work with duration, however it does. So I've moved it from Time-based modifiers section into common ones.

Test plan

See in the recording that springified layout can have different duration. https://github.com/software-mansion/react-native-reanimated/assets/56199675/519eacb6-d011-4700-89fc-a62ac6b93684