Interface: OrderActionsProps
Defined in: components/OrderActions.tsx:25
Properties
afterReorder?
optionalafterReorder?: (cart) =>void
Defined in: components/OrderActions.tsx:45
Callback fired after all re-order items have been added
Parameters
cart
Cart
Returns
void
cartId?
optionalcartId?:string
Defined in: components/OrderActions.tsx:33
Cart ID — if provided, re-order adds items to this cart
className?
optionalclassName?:string
Defined in: components/OrderActions.tsx:41
Additional CSS class for the root element
companyId?
optionalcompanyId?:number
Defined in: components/OrderActions.tsx:35
Active company ID from the company switcher
configuration?
optionalconfiguration?:any
Defined in: components/OrderActions.tsx:37
Configuration object (imageSearchFiltersGrid, imageVariantFiltersSmall, etc.)
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/OrderActions.tsx:27
GraphQL client for the Propeller SDK. Resolved from PropellerProvider when omitted.
labels?
optionallabels?:Record<string,string>
Defined in: components/OrderActions.tsx:39
Label overrides for UI strings
onCartCreated?
optionalonCartCreated?: (cart) =>void
Defined in: components/OrderActions.tsx:43
Callback when a new cart is created during re-order
Parameters
cart
Cart
Returns
void
order
order:
Order
Defined in: components/OrderActions.tsx:29
The order to act upon
user?
optionaluser?:Contact|Customer|null
Defined in: components/OrderActions.tsx:31
The authenticated user. Resolved from PropellerProvider when omitted.