function CategoryChartList()

in packages/react-heat-streams/src/components/CategoryChartList.tsx [33:67]


	function CategoryChartList({
		categories,
		categoryValues,
		xScale,
		colorizer,
		rowHeight,
		showValues,
		width,
		highlightColor,
		isCategorySelected,
		categoryY,
		sliceWidth,
		xPan,
		xDomain,
	}) {
		const charts = categories.map((cat, index) => (
			<CategoryChart
				key={cat.id}
				category={cat}
				categoryData={categoryValues[cat.id]}
				colorizer={colorizer}
				xScale={xScale}
				xPan={xPan}
				xDomain={xDomain}
				rowHeight={rowHeight}
				showValues={showValues}
				width={width}
				highlightColor={highlightColor}
				selected={isCategorySelected(cat)}
				y={categoryY(index)}
				sliceWidth={sliceWidth}
			/>
		))
		return <g className="category-charts">{charts}</g>
	},