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

10.0.1 • 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

/@react-spring/shared/

    Package Sidebar

    Install

    npm i @react-spring/shared

    Weekly Downloads

    2,336,903

    Version

    10.0.1

    License

    MIT

    Unpacked Size

    203 kB

    Total Files

    12

    Last publish

    Collaborators

    • tdfka_rick