Skip to content

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

QuoteTemplateCommentsList Container

The QuoteTemplateCommentsList container displays all comments associated with a quote template.

Version: 1.1.2

The QuoteTemplateCommentsList container provides the following configuration options:

ParameterTypeReq?Description
templateDataNegotiableQuoteTemplateModelNoTemplate data object. Auto-populated from drop-in state when omitted.
initialDataobjectNoPreloaded 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);