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