Skip to main content

Interface: ClusterInfoProps

Defined in: components/ClusterInfo.tsx:22

Properties​

className?​

optional className?: string

Defined in: components/ClusterInfo.tsx:65

Extra CSS class applied to the root element.


cluster?​

optional cluster?: Cluster

Defined in: components/ClusterInfo.tsx:30

Pre-fetched cluster object to display. When provided the component skips internal fetching.


clusterId?​

optional clusterId?: number

Defined in: components/ClusterInfo.tsx:36

Cluster ID to fetch data for when no cluster prop is provided. Requires graphqlClient to be set.


configuration?​

optional configuration?: any

Defined in: components/ClusterInfo.tsx:90

Config object providing imageSearchFiltersGrid and imageVariantFiltersSmall.


graphqlClient?​

optional graphqlClient?: GraphQLClient

Defined in: components/ClusterInfo.tsx:42

Initialised Propeller SDK GraphQL client. Required when clusterId is provided for internal data fetching.


imageLabels?​

optional imageLabels?: string[]

Defined in: components/ClusterInfo.tsx:98

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?​

optional imageSearchFilters?: any

Defined in: components/ClusterInfo.tsx:77

Image search filter passed to ProductService.getProduct(). Controls how many image items are returned. Example: { page: 1, offset: 20 }


imageVariantFilters?​

optional imageVariantFilters?: any

Defined in: components/ClusterInfo.tsx:85

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?​

optional language?: string

Defined in: components/ClusterInfo.tsx:62

Language code used to resolve localised names. Defaults to 'NL'.


onClusterLoaded?​

optional onClusterLoaded?: (cluster) => void

Defined in: components/ClusterInfo.tsx:49

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?​

optional showSku?: boolean

Defined in: components/ClusterInfo.tsx:57

Show the cluster SKU. Defaults to true.


showTitle?​

optional showTitle?: boolean

Defined in: components/ClusterInfo.tsx:54

Show the cluster name. Defaults to true.


taxZone?​

optional taxZone?: string

Defined in: components/ClusterInfo.tsx:70

Tax zone to use for price calculation.


textLabels?​

optional textLabels?: string[]

Defined in: components/ClusterInfo.tsx:105

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?​

optional user?: Contact | Customer | null

Defined in: components/ClusterInfo.tsx:25

The authenticated user (Contact or Customer). Resolved from PropellerProvider when omitted.