OrderSummaryLine Container
Overview
The OrderSummaryLine container component for the drop-in.
Version: 0.0.1
Configuration
The OrderSummaryLine container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
label | VNode | string | Yes | Configuration for label |
price | VNode<HTMLAttributes<HTMLSpanElement>> | Yes | Configuration for price |
classSuffixes | Array<string> | No | Configuration for class suffixes |
labelClassSuffix | string | No | Configuration for label class suffix |
testId | string | No | Test ID for automated testing |
children | any | No | Child elements to render within the container |
Slots
This container does not currently expose any customizable slots.
Usage
The following example demonstrates how to use the OrderSummaryLine container:
import { OrderSummaryLine } from '@dropins/storefront-quote-management';
export default function MyComponent() { return ( <OrderSummaryLine label=label price={price} classSuffixes=[] /> );}