Package Exports
- @react-spring/shared
- @react-spring/shared/colors
- @react-spring/shared/globals
- @react-spring/shared/index.js
- @react-spring/shared/stringInterpolation
- @react-spring/shared/types
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@react-spring/shared) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@react-spring/shared
This package contains modules which are not imported by the main module.
@react-spring/shared/colorMatchers
Regular expressions for color strings@react-spring/shared/colors
The dictionary of named colors and their numeric values@react-spring/shared/normalizeColor
Converts named colors, hexadecimal colors,rgba
strings, andhsla
strings into their numeric values@react-spring/shared/stringInterpolation
Exports thecreateStringInterpolator
function (with color support)
Main module
Import @react-spring/shared
to access these named imports:
Globals
object (updated with itsassign
method)createInterpolator
functionis
functions (for runtime type checks)- Utility hooks (like
useForceUpdate
) - Every type in
src/types