OrderHeader Container
Version: 3.0.0-beta1
Configuration
The OrderHeader container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
handleEmailAvailability | function | No | Callback function for handle email availability |
handleSignUpClick | function | No | Callback function for handle sign up click |
orderData | OrderDataModel | No | Data object for order |
Slots
This container does not expose any customizable slots.
Usage
The following example demonstrates how to use the OrderHeader container:
import { render as provider } from '@dropins/storefront-order/render.js';import { OrderHeader } from '@dropins/storefront-order/containers/OrderHeader.js';
await provider.render(OrderHeader, { handleEmailAvailability: handleEmailAvailability, handleSignUpClick: handleSignUpClick, orderData: orderData,})(block);