Skip to main content

Interface: ProductSpecificationsProps

Defined in: components/ProductSpecifications.tsx:28

Properties

attributes?

optional attributes?: AttributeResult[]

Defined in: components/ProductSpecifications.tsx:44

Pre-fetched attribute result items used as fallback when productId is not provided. When productId is provided the component fetches its own data and this prop is ignored.


className?

optional className?: string

Defined in: components/ProductSpecifications.tsx:66

Extra CSS class applied to the root element.


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/ProductSpecifications.tsx:33

Initialised Propeller SDK GraphQL client. Required when productId is set — used to fetch public attributes.


grouping?

optional grouping?: boolean

Defined in: components/ProductSpecifications.tsx:63

When true, groups attributes by their group field with a heading per section. When false or omitted, displays a flat ungrouped table/list. Default: false.


language?

optional language?: string

Defined in: components/ProductSpecifications.tsx:50

Language code used to resolve localised attribute labels. Defaults to 'NL'.


layout?

optional layout?: string

Defined in: components/ProductSpecifications.tsx:57

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


productId?

optional productId?: number

Defined in: components/ProductSpecifications.tsx:38

Product ID to fetch attributes for.