Skip to content

motion-sv@0.1.12

Choose a tag to compare

@hanielu hanielu released this 06 Apr 18:12
· 4 commits to main since this release

Improvements

  • Narrowed useSpring type signature — Source parameter changed from T | MotionValue<T> (generic) to MotionValue<string> | MotionValue<number> | number, which more accurately reflects the supported input types.

Breaking Changes

  • useSpring no longer accepts string as a standalone source value (only number or a MotionValue). If you were passing a raw string, wrap it in a motionValue() first.