Types: ArticleDownloadsProps to CompanyInfoProps
The types of @poltura/theme-sdk/content, ArticleDownloadsProps to CompanyInfoProps.
On this page
import { … } from '@poltura/theme-sdk/content';ArticleDownloadsProps
Props of ArticleDownloads.
attachmentsrequiredreadonly GuideAttachment[]The files and links to list.
titlerequiredstringThe box heading, such as `Downloads`.
checksumLabelrequiredstringIgnored; the host names the checksum.
DownloadButtonProps
Props of DownloadButton.
filerequiredGuideAttachmentA guide's file or link: the button downloads the file or opens the link.
lockedfalseA guide attachment is never locked.
classNamestringClasses added to the button.
FileDownloadsProps
Props of FileDownloads.
attachmentsreadonly GuideAttachment[]Guide files and links, in order.
filesreadonly ProductFile[]Files the product delivers after purchase, listed locked after the attachments.
titlestringA heading above the list, such as `Downloads`; none when omitted.
layout'list' | 'inline'`list` stacks one row per file, `inline` wraps compact buttons side by side; `list` when omitted.
classNamestringClasses added to the list.
buttonClassNamestringClasses for every button in the theme's own look, in place of the host's border and background.
ContactInfoCardProps
Props of ContactInfoCard.
iconrequiredReactNodeThe icon at the top.
titlerequiredstringThe channel's name, such as `Customer service`.
descriptionrequiredstringWhat to reach it for.
actionLabelrequiredstringThe link label, such as the email address.
actionHrefrequiredstringWhere the link goes, such as `mailto:` or `tel:` address.
classNamestringClasses added to the card.
ContactSocialCardProps
Props of ContactSocialCard.
headingrequiredstringThe card heading.
descriptionrequiredstringThe line under the heading.
linksrequiredreadonly SocialLink[]The profiles to link, as tiles with the network's icon.
CompanyInfoProps
Props of CompanyInfo.
companyrequiredStoreCompany | nullThe company behind the store, or null to leave its column out.
bankAccountrequiredBankAccount | nullThe bank account, or null to leave its column out.