Skip to main content

Type Alias: GenerateProductPDF()

GenerateProductPDF: (items, formatMessage?, pdfConfig?) => Promise<void>

Generate PDF with passed pages for current product configuration

Parameters

items: ProductTab[]

List of tabs to render at PDF

formatMessage?: FormatMessage

Method to handle i18n for PDF content

pdfConfig?: ApiPdfConfig

Custom PDF configuration

Returns

Promise<void>