Skip to main content

Interface: ClusterInfoProps

Defined in: components/ClusterInfo.tsx:21

Properties

className?

optional className?: string

Defined in: components/ClusterInfo.tsx:64

Extra CSS class applied to the root element.


cluster?

optional cluster?: Cluster

Defined in: components/ClusterInfo.tsx:29

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


clusterId?

optional clusterId?: 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?

optional configuration?: any

Defined in: components/ClusterInfo.tsx:89

Config object providing imageSearchFiltersGrid and imageVariantFiltersSmall.


graphqlClient?

optional graphqlClient?: GraphQLClient

Defined in: components/ClusterInfo.tsx:41

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


imageLabels?

optional imageLabels?: 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?

optional imageSearchFilters?: 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?

optional imageVariantFilters?: 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?

optional language?: string

Defined in: components/ClusterInfo.tsx:61

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


onClusterLoaded?

optional onClusterLoaded?: (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?

optional showSku?: boolean

Defined in: components/ClusterInfo.tsx:56

Show the cluster SKU. Defaults to true.


showTitle?

optional showTitle?: boolean

Defined in: components/ClusterInfo.tsx:53

Show the cluster name. Defaults to true.


taxZone?

optional taxZone?: string

Defined in: components/ClusterInfo.tsx:69

Tax zone to use for price calculation.


textLabels?

optional textLabels?: 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?

optional user?: Contact | Customer | null

Defined in: components/ClusterInfo.tsx:24

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