pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
16 lines (15 loc) • 336 B
TypeScript
import React from 'react';
interface DataPoint {
date: string | Date;
value: number;
}
interface LineGraphProps {
data: DataPoint[];
title?: string;
yAxisLabel?: string;
color?: string;
className?: string;
loading?: boolean;
}
declare const LineGraph: React.FC<LineGraphProps>;
export default LineGraph;