Skip to content

PurchaseOrderApprovalFlow Container

Manages the approval workflow for a purchase order including approval actions and status updates.

Version: 1.0.0

Configuration

The PurchaseOrderApprovalFlow container provides the following configuration options:

ParameterTypeReq?Description
classNamestringNoAdditional CSS classes to apply to the container for custom styling.
withHeaderbooleanNoWhen true, displays the header section. Set to false when embedding the container within a layout that provides its own header.
withWrapperbooleanNoWhen true, wraps the container in a styled wrapper. Set to false for custom styling or when the container is embedded within another styled component.

Slots

This container does not expose any customizable slots.

Usage

The following example demonstrates how to use the PurchaseOrderApprovalFlow container:

import { render as provider } from '@dropins/storefront-purchase-order/render.js';
import { PurchaseOrderApprovalFlow } from '@dropins/storefront-purchase-order/containers/PurchaseOrderApprovalFlow.js';
await provider.render(PurchaseOrderApprovalFlow, {
className: "Example Name",
withHeader: true,
withWrapper: true,
})(block);