@react-spring/shared

v9.7.5

Published

Globals and shared modules

Downloads

9,075,596

Readme

@react-spring/shared

Various helpers used by @react-spring/core and/or the platform targets (eg: @react-spring/web).

Notable exports:

  • The Globals object (updated with its assign method)
  • The createStringInterpolator function
  • The createInterpolator function
  • The normalizeColor function
  • The FrameLoop class
  • The colors object
  • The colorToRgba function
  • The FluidValue class and related functions