DaffProductReducerState
An interface describing product redux state. This state describes the current product that is loaded for a product page.
import { DaffProductReducerState } from '@daffodil/product/state'
interface DaffProductReducerState {
currentProductId: DaffProduct['id']
qty: number
}
Properties
Name | Type | Description |
---|---|---|
currentProductId | DaffProduct['id'] | The id of the current product. |
qty | number | The quantity chosen for the current product. |