reaviz
Version:
Data Visualization using React
20 lines (19 loc) • 667 B
TypeScript
import { FC, ReactElement } from 'react';
import { BarChartProps } from './BarChart';
import { ChartNestedDataShape } from '../common/data';
import { BarSeriesProps, MarimekkoBarSeries } from './BarSeries';
export interface MarimekkoChartProps extends BarChartProps {
/**
* Data the chart will receive to render.
*
* @default []
*/
data: ChartNestedDataShape[];
/**
* The series component that renders the Marimekko bar components.
*
* @default `<MarimekkoBarSeries />`
*/
series: ReactElement<BarSeriesProps, typeof MarimekkoBarSeries>;
}
export declare const MarimekkoChart: FC<Partial<MarimekkoChartProps>>;