Skip to content

QuoteCommentsList Container

The QuoteCommentsList container displays all comments and communications between buyer and seller for a negotiable quote.

Version: 1.1.2

The QuoteCommentsList container provides the following configuration options:

ParameterTypeReq?Description
quoteDataNegotiableQuoteModelNoQuote 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 QuoteCommentsList container:

import { render as provider } from '@dropins/storefront-quote-management/render.js';
import { QuoteCommentsList } from '@dropins/storefront-quote-management/containers/QuoteCommentsList.js';
// Omit quoteData to use drop-in state. When passing from parent:
const quoteData = props.quoteData;
await provider.render(QuoteCommentsList, {
quoteData,
})(block);