Interface: ProductTabsProps
Defined in: components/ProductTabs.tsx:26
Properties
className?
optionalclassName?:string
Defined in: components/ProductTabs.tsx:123
Extra CSS class applied to the root element.
descriptionCollapsed?
optionaldescriptionCollapsed?: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?
optionaldescriptionMaxLength?: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?
optionaldownloadsLabels?: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?
optionalgraphqlClient?:GraphQLClient
Defined in: components/ProductTabs.tsx:79
Initialised Propeller SDK GraphQL client. Passed to ProductSpecifications for internal attribute fetching.
labels?
optionallabels?:Record<string,string>
Defined in: components/ProductTabs.tsx:56
Override the tab button labels. Available keys: description, specifications, downloads, videos
language?
optionallanguage?: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?
optionalproductDescriptionComponent?:ComponentType<ProductDescriptionProps>
Defined in: components/ProductTabs.tsx:128
productDownloadsComponent?
optionalproductDownloadsComponent?:ComponentType<ProductDownloadsProps>
Defined in: components/ProductTabs.tsx:130
productId?
optionalproductId?:number
Defined in: components/ProductTabs.tsx:85
Product ID to fetch attributes for. Passed to ProductSpecifications for internal attribute fetching.
productSpecificationsComponent?
optionalproductSpecificationsComponent?:ComponentType<ProductSpecificationsProps>
Defined in: components/ProductTabs.tsx:129
productVideosComponent?
optionalproductVideosComponent?:ComponentType<ProductVideosProps>
Defined in: components/ProductTabs.tsx:131
showDescription?
optionalshowDescription?:boolean
Defined in: components/ProductTabs.tsx:33
If true, displays the Description tab. Defaults to true.
showDownloads?
optionalshowDownloads?:boolean
Defined in: components/ProductTabs.tsx:39
If true, displays the Downloads tab. Defaults to true.
showSpecifications?
optionalshowSpecifications?:boolean
Defined in: components/ProductTabs.tsx:36
If true, displays the Specifications tab. Defaults to true.
showVideos?
optionalshowVideos?:boolean
Defined in: components/ProductTabs.tsx:42
If true, displays the Videos tab. Defaults to true.
specificationsGrouping?
optionalspecificationsGrouping?: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?
optionalspecificationsLayout?: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?
optionalvideosLabels?:Record<string,string>
Defined in: components/ProductTabs.tsx:118
Override UI strings for the Videos section.
Available key: title
Passed as labels to ProductVideos.