AppCartConfig

cart · /react·type

Compile-time pairing of a capability matrix and an extension shape used to thread consistent type parameters through and its associated hooks. Define one per app and pass it as the generic argument to and the action hooks.

Properties

caps
C
ext
E

Example

type MyCartConfig = AppCartConfig<CartCapabilities, { line: { customData: string } }>;

CartDevtools CartFormProps CartProviderProps BaseCartActions BuyerIdentityActions CartActions CartAttributeActions CartPredictor

Metadata@nordcom/commerce-cart@0.2.2Open in GitHub ↗

On this page