Skip to main content

Interface: ProductTabsProps

Defined in: components/ProductTabs.tsx:26

Properties

className?

optional className?: string

Defined in: components/ProductTabs.tsx:123

Extra CSS class applied to the root element.


descriptionCollapsed?

optional descriptionCollapsed?: boolean

Defined in: components/ProductTabs.tsx:65

When true, the description is initially collapsed to descriptionMaxLength characters. A "Read more" / "Read less" toggle is shown. Passed as collapsed to ProductDescription. Defaults to false.


descriptionMaxLength?

optional descriptionMaxLength?: number

Defined in: components/ProductTabs.tsx:71

Maximum number of characters shown when the description is collapsed. Passed as maxLength to ProductDescription. Defaults to 0 (no truncation).


downloadsLabels?

optional downloadsLabels?: Record<string, string>

Defined in: components/ProductTabs.tsx:109

Override UI strings for the Downloads section. Available keys: title, download Passed as labels to ProductDownloads.


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/ProductTabs.tsx:79

Initialised Propeller SDK GraphQL client. Passed to ProductSpecifications for internal attribute fetching.


labels?

optional labels?: Record<string, string>

Defined in: components/ProductTabs.tsx:56

Override the tab button labels. Available keys: description, specifications, downloads, videos


language?

optional language?: string

Defined in: components/ProductTabs.tsx:50

Language code passed to all sub-components. Defaults to 'NL'.


product

product: Product

Defined in: components/ProductTabs.tsx:28

Product for which to display the information.


productDescriptionComponent?

optional productDescriptionComponent?: ComponentType<ProductDescriptionProps>

Defined in: components/ProductTabs.tsx:128


productDownloadsComponent?

optional productDownloadsComponent?: ComponentType<ProductDownloadsProps>

Defined in: components/ProductTabs.tsx:130


productId?

optional productId?: number

Defined in: components/ProductTabs.tsx:85

Product ID to fetch attributes for. Passed to ProductSpecifications for internal attribute fetching.


productSpecificationsComponent?

optional productSpecificationsComponent?: ComponentType<ProductSpecificationsProps>

Defined in: components/ProductTabs.tsx:129


productVideosComponent?

optional productVideosComponent?: ComponentType<ProductVideosProps>

Defined in: components/ProductTabs.tsx:131


showDescription?

optional showDescription?: boolean

Defined in: components/ProductTabs.tsx:33

If true, displays the Description tab. Defaults to true.


showDownloads?

optional showDownloads?: boolean

Defined in: components/ProductTabs.tsx:39

If true, displays the Downloads tab. Defaults to true.


showSpecifications?

optional showSpecifications?: boolean

Defined in: components/ProductTabs.tsx:36

If true, displays the Specifications tab. Defaults to true.


showVideos?

optional showVideos?: boolean

Defined in: components/ProductTabs.tsx:42

If true, displays the Videos tab. Defaults to true.


specificationsGrouping?

optional specificationsGrouping?: boolean

Defined in: components/ProductTabs.tsx:100

When true, groups specifications by their group field with a heading per section. When false or omitted, displays a flat ungrouped table. Default: false. Passed as grouping to ProductSpecifications.


specificationsLayout?

optional specificationsLayout?: string

Defined in: components/ProductTabs.tsx:93

Display layout for the specifications. 'table' — two-column table (name | value). Default. 'list' — vertical label + value stacked rows. Passed as layout to ProductSpecifications.


videosLabels?

optional videosLabels?: Record<string, string>

Defined in: components/ProductTabs.tsx:118

Override UI strings for the Videos section. Available key: title Passed as labels to ProductVideos.