@react-spring/shared
TypeScript icon, indicating that this package has built-in type declarations

9.7.5 • Public • Published

@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

Package Sidebar

Install

npm i @react-spring/shared

Weekly Downloads

2,110,327

Version

9.7.5

License

MIT

Unpacked Size

654 kB

Total Files

17

Last publish

Collaborators

  • tdfka_rick