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
PROPTYPEDESCRIPTION
caps
C
ext
E
Example
type MyCartConfig = AppCartConfig<CartCapabilities, { line: { customData: string } }>;Related
CartDevtools CartFormProps CartProviderProps BaseCartActions BuyerIdentityActions CartActions CartAttributeActions CartPredictor