Developers
Start building
Themes/Theme SDK/Modules/content/Types: ArticleDownloadsProps to CompanyInfoProps

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.

titlerequiredstring

The box heading, such as `Downloads`.

checksumLabelrequiredstring

Ignored; the host names the checksum.

DownloadButtonProps

Props of DownloadButton.

filerequiredGuideAttachment

A guide's file or link: the button downloads the file or opens the link.

lockedfalse

A guide attachment is never locked.

classNamestring

Classes 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.

titlestring

A 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.

classNamestring

Classes added to the list.

buttonClassNamestring

Classes for every button in the theme's own look, in place of the host's border and background.

ContactInfoCardProps

Props of ContactInfoCard.

iconrequiredReactNode

The icon at the top.

titlerequiredstring

The channel's name, such as `Customer service`.

descriptionrequiredstring

What to reach it for.

actionLabelrequiredstring

The link label, such as the email address.

actionHrefrequiredstring

Where the link goes, such as `mailto:` or `tel:` address.

classNamestring

Classes added to the card.

ContactSocialCardProps

Props of ContactSocialCard.

headingrequiredstring

The card heading.

descriptionrequiredstring

The line under the heading.

linksrequiredreadonly SocialLink[]

The profiles to link, as tiles with the network's icon.

CompanyInfoProps

Props of CompanyInfo.

companyrequiredStoreCompany | null

The company behind the store, or null to leave its column out.

bankAccountrequiredBankAccount | null

The bank account, or null to leave its column out.

Last updated