funuicss
Version:
React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting b
29 lines (28 loc) • 639 B
TypeScript
import React from 'react';
type DataItem = {
label: string;
[key: string]: any;
};
type ChartSeries = {
dataKey: string;
label?: string;
color?: string;
strokeWidth?: number;
dot?: boolean;
fromColor?: string;
toColor?: string;
};
interface AreaChartProps {
data: DataItem[];
series: ChartSeries[];
fromColor?: string;
toColor?: string;
showGrid?: boolean;
showLegend?: boolean;
showXAxis?: boolean;
showYAxis?: boolean;
funcss?: string;
curveType?: 'linear' | 'monotone' | 'step' | 'basis';
}
declare const Lines: React.FC<AreaChartProps>;
export default Lines;