GitHub

DaffProductReducerState

import { DaffProductReducerState } from '@daffodil/product/state'

An interface describing product redux state. This state describes the current product that is loaded for a product page.

interface DaffProductReducerState {
  currentProductId: string
  qty: number
}

Properties

currentProductId
string

The id of the current product.

qty
number

The quantity chosen for the current product.