Package Exports
- @react-spring/shared
- @react-spring/shared/colors
- @react-spring/shared/deprecations
- @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/colorMatchersRegular expressions for color strings@react-spring/shared/colorsThe dictionary of named colors and their numeric values@react-spring/shared/normalizeColorConverts named colors, hexadecimal colors,rgbastrings, andhslastrings into their numeric values@react-spring/shared/stringInterpolationExports thecreateStringInterpolatorfunction (with color support)
Main module
Import @react-spring/shared to access these named imports:
Globalsobject (updated with itsassignmethod)createInterpolatorfunctionisfunctions (for runtime type checks)- Utility hooks (like
useForceUpdate) - Every type in
src/types