@o/react-spring-shared
This package contains modules which are not imported by the main module.
-
@o/react-spring-shared/colorMatchers
Regular expressions for color strings
-
@o/react-spring-shared/colors
The dictionary of named colors and their numeric values
-
@o/react-spring-shared/normalizeColor
Converts named colors, hexadecimal colors, rgba
strings, and hsla
strings
into their numeric values
-
@o/react-spring-shared/stringInterpolation
Exports the createStringInterpolator
function (with color support)
Main module
Import @o/react-spring-shared
to access these named imports:
Globals
object (updated with its assign
method)
createInterpolator
function
is
functions (for runtime type checks)
- Utility hooks (like
useForceUpdate
)
- Every type in
src/types