@etsoo/materialui
Version:
TypeScript Material-UI Implementation
29 lines (28 loc) • 569 B
TypeScript
import type { ChartData, LineControllerChartOptions } from "chart.js" with { "resolution-mode": "import" };
/**
* Line chart
*/
export type LineChartProps = {
/**
* Chart data
*/
data: ChartData<"line">;
/**
* Options
*/
options?: LineControllerChartOptions;
/**
* Subtitle
*/
subtitle?: string;
/**
* Title
*/
title?: string;
};
/**
* Line chart
* @param props Props
* @returns Component
*/
export declare function LineChart(props: LineChartProps): import("react/jsx-runtime").JSX.Element;