pagamio-frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
17 lines (16 loc) • 802 B
TypeScript
import type { ApiErrorResponse } from '../../../api';
import type { ChartOptionsProps } from '../../types';
interface VisualChartProps<T> {
topFivePerformingChartTitle?: string;
bottomFivePerformingChartTitle?: string;
isEmpty: boolean;
loading: boolean;
refresh: () => void;
error?: ApiErrorResponse;
chartData?: ChartOptionsProps<T>;
top5PerformingItems?: ChartOptionsProps<unknown>;
bottom5NonPerformingItems?: ChartOptionsProps<unknown>;
renderChart: boolean;
}
declare const VisualChart: <T>({ topFivePerformingChartTitle, bottomFivePerformingChartTitle, isEmpty, loading, refresh, error, chartData, top5PerformingItems, bottom5NonPerformingItems, renderChart, }: VisualChartProps<T>) => import("react/jsx-runtime").JSX.Element;
export default VisualChart;