Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

OrderSummaryLine Container

Overview

The OrderSummaryLine container component for the drop-in.

Version: 0.0.1

Configuration

The OrderSummaryLine container provides the following configuration options:

ParameterTypeReq?Description
labelVNode | stringYesConfiguration for label
priceVNode<HTMLAttributes<HTMLSpanElement>>YesConfiguration for price
classSuffixesArray<string>NoConfiguration for class suffixes
labelClassSuffixstringNoConfiguration for label class suffix
testIdstringNoTest ID for automated testing
childrenanyNoChild 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=[]
/>
);
}