Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AddToCartProps

Index

Properties

addToCart

addToCart: MutationType<AddToCartParams, AddToCart_addToCart>

A function to trigger the addToCart mutation from your UI. You can pass AddToCartParams as parameters. The function returns a promise that fulfills with AddToCartResult.

Optional error

error: undefined | ApolloError

Any errors returned from the mutation

loading

loading: boolean

A boolean that indicates whether your mutation is in flight.

Optional result

result: undefined | AddToCart_addToCart

The AddToCartResult returned from your mutation. Defaults to undefined.

Generated using TypeDoc