Interface: ClusterInfoProps
Defined in: components/ClusterInfo.tsx:21
Properties
className?
optionalclassName?:string
Defined in: components/ClusterInfo.tsx:64
Extra CSS class applied to the root element.
cluster?
optionalcluster?:Cluster
Defined in: components/ClusterInfo.tsx:29
Pre-fetched cluster object to display. When provided the component skips internal fetching.
clusterId?
optionalclusterId?:number
Defined in: components/ClusterInfo.tsx:35
Cluster ID to fetch data for when no cluster prop is provided.
Requires graphqlClient to be set.
configuration?
optionalconfiguration?:any
Defined in: components/ClusterInfo.tsx:89
Config object providing imageSearchFiltersGrid and imageVariantFiltersSmall.
graphqlClient?
optionalgraphqlClient?:GraphQLClient
Defined in: components/ClusterInfo.tsx:41
Initialised Propeller SDK GraphQL client.
Required when clusterId is provided for internal data fetching.
imageLabels?
optionalimageLabels?:string[]
Defined in: components/ClusterInfo.tsx:97
Attribute codes/names to look up and display as badge overlays on the product image.
Each code is resolved against product.attributes.items[].attributeDescription.code
(or .name). Attributes with no matching value are silently omitted.
Example: ['new', 'sale']
imageSearchFilters?
optionalimageSearchFilters?:any
Defined in: components/ClusterInfo.tsx:76
Image search filter passed to ProductService.getProduct(). Controls how many image items are returned. Example: { page: 1, offset: 20 }
imageVariantFilters?
optionalimageVariantFilters?:any
Defined in: components/ClusterInfo.tsx:84
Image variant transformation filter passed to ProductService.getProduct(). Controls image size/format variants returned with the product. Example: imageVariantFiltersLarge from @/data/defaults Defaults to { transformations: [] } when omitted.
language?
optionallanguage?:string
Defined in: components/ClusterInfo.tsx:61
Language code used to resolve localised names. Defaults to 'NL'.
onClusterLoaded?
optionalonClusterLoaded?: (cluster) =>void
Defined in: components/ClusterInfo.tsx:48
Called once the cluster data is loaded — either immediately (when
cluster prop is supplied) or after the internal fetch completes.
Use this to hydrate sibling components (configurator, price, gallery, etc.).
Parameters
cluster
Cluster
Returns
void
showSku?
optionalshowSku?:boolean
Defined in: components/ClusterInfo.tsx:56
Show the cluster SKU. Defaults to true.
showTitle?
optionalshowTitle?:boolean
Defined in: components/ClusterInfo.tsx:53
Show the cluster name. Defaults to true.
taxZone?
optionaltaxZone?:string
Defined in: components/ClusterInfo.tsx:69
Tax zone to use for price calculation.
textLabels?
optionaltextLabels?:string[]
Defined in: components/ClusterInfo.tsx:104
Attribute codes/names to look up and display as extra text rows below the product name.
Resolved the same way as imageLabels.
Example: ['brand', 'color']
user?
optionaluser?:Contact|Customer|null
Defined in: components/ClusterInfo.tsx:24
The authenticated user (Contact or Customer). Resolved from PropellerProvider when omitted.