Skip to content

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

QuotesListTable Container

Overview

The QuotesListTable container component for the drop-in.

Version: 0.0.1

Configuration

The QuotesListTable container provides the following configuration options:

ParameterTypeReq?Description
pageSizenumberNoSize of page
showItemRangebooleanNoControls visibility of item range
showPageSizePickerbooleanNoControls visibility of page size picker
showPaginationbooleanNoControls visibility of pagination
onViewQuote(quoteId: stringNoCallback function triggered when view quote
quoteNamestringYesConfiguration for quote name
statusstring) => voidYesCallback function for status
onPageSizeChange(pageSize: number) => voidNoCallback function triggered when page size change
onPageChange(page: number) => voidNoCallback function triggered when page change
CreatedSlotProps<{ quote: NegotiableQuoteListEntry }>NoSlot for customizing the created date cell content
CreatedBySlotProps<{ quote: NegotiableQuoteListEntry }>NoSlot for customizing the created by cell content
StatusSlotProps<{ quote: NegotiableQuoteListEntry }>NoSlot for customizing the status cell content
LastUpdatedSlotProps<{ quote: NegotiableQuoteListEntry }>NoSlot for customizing the last updated cell content
QuoteTemplateSlotProps<{ quote: NegotiableQuoteListEntry }>NoSlot for customizing the quote template cell content
QuoteTotalSlotProps<{ quote: NegotiableQuoteListEntry }>NoSlot for customizing the quote total cell content
ActionsSlotProps<{ quote: NegotiableQuoteListEntryNoSlot for customizing the actions cell content
onViewQuote(id: stringNoCallback function triggered when view quote
namestringYesConfiguration for name
statusstring) => voidYesCallback function for status
EmptyQuotesSlotPropsNoSlot for customizing the empty quotes message
ItemRangeSlotProps<{ startItem: numberNoConfiguration for item range
endItemnumberYesSlot for customizing the item range display
totalCountnumberYesSlot for customizing the item range display
currentPagenumberYesSlot for customizing the item range display
pageSizenumberNoSize of page
PageSizePickerSlotProps<{ pageSize: numberNoConfiguration for page size picker
pageSizeOptionsnumber[]YesSlot for customizing the page size picker
onPageSizeChange(pageSize: number) => voidNoCallback function triggered when page size change
PaginationSlotProps<{ currentPage: numberNoConfiguration for pagination
totalPagesnumberYesSlot for customizing the pagination
onChange(page: number) => voidNoSlot for customizing the pagination

Slots

This container exposes the following slots for customization:

SlotTypeRequiredDescription
slots\{ QuoteName?: SlotProps&lt;\{ quote: NegotiableQuoteListEntry \}&gt;NoCustom slot for rendering slots

Usage

The following example demonstrates how to use the QuotesListTable container:

import { QuotesListTable } from '@dropins/storefront-quote-management';
export default function MyComponent() {
return (
<QuotesListTable
quoteName="Example Name"
status=() => {}
name="Example Name"
/>
);
}