UNPKG

@lobehub/charts

Version:

React modern charts components built on recharts

20 lines (19 loc) 672 B
/// <reference types="react" /> import BaseChartProps from "../common/BaseChartProps"; type CalculateFrom = 'first' | 'previous'; type DataT = { name: string; value: number; }; export interface FunnelChartProps extends Omit<BaseChartProps, 'categories' | 'index'> { barGap?: number | `${number}%`; calculateFrom?: CalculateFrom; data: DataT[]; evolutionGradient?: boolean; gradient?: boolean; showArrow?: boolean; variant?: 'base' | 'center'; yAxisPadding?: number; } declare const FunnelChart: import("react").ForwardRefExoticComponent<FunnelChartProps & import("react").RefAttributes<HTMLDivElement>>; export default FunnelChart;