Skip to main content

Interface: OrderActionsProps

Defined in: components/OrderActions.tsx:25

Properties

afterReorder?

optional afterReorder?: (cart) => void

Defined in: components/OrderActions.tsx:45

Callback fired after all re-order items have been added

Parameters

cart

Cart

Returns

void


cartId?

optional cartId?: string

Defined in: components/OrderActions.tsx:33

Cart ID — if provided, re-order adds items to this cart


className?

optional className?: string

Defined in: components/OrderActions.tsx:41

Additional CSS class for the root element


companyId?

optional companyId?: number

Defined in: components/OrderActions.tsx:35

Active company ID from the company switcher


configuration?

optional configuration?: any

Defined in: components/OrderActions.tsx:37

Configuration object (imageSearchFiltersGrid, imageVariantFiltersSmall, etc.)


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/OrderActions.tsx:27

GraphQL client for the Propeller SDK. Resolved from PropellerProvider when omitted.


labels?

optional labels?: Record<string, string>

Defined in: components/OrderActions.tsx:39

Label overrides for UI strings


onCartCreated?

optional onCartCreated?: (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?

optional user?: Contact | Customer | null

Defined in: components/OrderActions.tsx:31

The authenticated user. Resolved from PropellerProvider when omitted.