Skip to content

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

QuoteTemplateHistoryLog Container

The QuoteTemplateHistoryLog container shows the complete history of changes and updates for a quote template.

Version: 1.1.2

The QuoteTemplateHistoryLog 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 QuoteTemplateHistoryLog container:

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