Skip to content

Commit

Permalink
fix: fix error component name of Heatmap series
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Dec 19, 2024
1 parent e2a3d1b commit 7b751de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/react-vchart/src/series/Heatmap.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { BaseSeriesProps, createSeries } from './BaseSeries';
import type { BaseSeriesProps } from './BaseSeries';
import { createSeries } from './BaseSeries';
import type { IHeatmapChartSpec } from '@visactor/vchart';
import { registerHeatmapSeries } from '@visactor/vchart';

export type HeatmapProps = BaseSeriesProps & Omit<IHeatmapChartSpec, 'type'>;

export const Heatmap = createSeries<HeatmapProps>('Treemap', ['cell', 'cellBackground', 'label'], 'heatmap', [
export const Heatmap = createSeries<HeatmapProps>('Heatmap', ['cell', 'cellBackground', 'label'], 'heatmap', [
registerHeatmapSeries
]);

0 comments on commit 7b751de

Please sign in to comment.