QuoteTemplateCommentsList Container
The QuoteTemplateCommentsList container displays all comments associated with a quote template.
Version: 1.1.2
Configuration
Section titled “Configuration”The QuoteTemplateCommentsList container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
templateData | NegotiableQuoteTemplateModel | No | Template data object. Auto-populated from drop-in state when omitted. |
initialData | object | No | Preloaded data for the model before backend data is fetched. Use for testing, SSR, or improving initial load. |
This container does not expose any customizable slots.
The following example demonstrates how to use the QuoteTemplateCommentsList container:
import { render as provider } from '@dropins/storefront-quote-management/render.js';import { QuoteTemplateCommentsList } from '@dropins/storefront-quote-management/containers/QuoteTemplateCommentsList.js';
// Omit templateData to use drop-in state. When passing from parent:const templateData = props.templateData;await provider.render(QuoteTemplateCommentsList, { templateData,})(block);