DaffBestSellersReducerState
An interface describing best sellers redux state.
import { DaffBestSellersReducerState } from '@daffodil/product/state'
interface DaffBestSellersReducerState {
productIds: DaffProduct['id'][]
loading: boolean
errors: DaffStateError[]
}
Properties
Name | Type | Description |
---|---|---|
productIds | DaffProduct['id'][] | Product ids for best selling products. |
loading | boolean | Whether any best selling products are loading. |
errors | DaffStateError[] | Any products associated with loading best selling products. |