We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb09a6e commit c74aadcCopy full SHA for c74aadc
packages/react-vis/src/animation.js
@@ -31,9 +31,9 @@ function getAnimationStyle(animationStyle = presets.noWobble) {
31
}
32
const {damping, stiffness} = animationStyle;
33
return {
34
+ ...animationStyle,
35
damping: damping || presets.noWobble.damping,
- stiffness: stiffness || presets.noWobble.stiffness,
36
- ...animationStyle
+ stiffness: stiffness || presets.noWobble.stiffness
37
};
38
39
0 commit comments