@react-spring/shared

v9.7.5

Published

Globals and shared modules

Downloads

8,677,816

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