Skip to main content

Interface: OrderActionsProps

Defined in: components/OrderActions.tsx:26

Properties

afterReorder?

optional afterReorder?: (cart) => void

Defined in: components/OrderActions.tsx:46

Callback fired after all re-order items have been added

Parameters

cart

Cart

Returns

void


cartId?

optional cartId?: string

Defined in: components/OrderActions.tsx:34

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


className?

optional className?: string

Defined in: components/OrderActions.tsx:42

Additional CSS class for the root element


companyId?

optional companyId?: number

Defined in: components/OrderActions.tsx:36

Active company ID from the company switcher


configuration?

optional configuration?: any

Defined in: components/OrderActions.tsx:38

Configuration object (imageSearchFiltersGrid, imageVariantFiltersSmall, etc.)


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/OrderActions.tsx:28

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


labels?

optional labels?: Record<string, string>

Defined in: components/OrderActions.tsx:40

Label overrides for UI strings


onCartCreated?

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

optional user?: Contact | Customer | null

Defined in: components/OrderActions.tsx:32

The authenticated user. Resolved from PropellerProvider when omitted.