@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
15 lines (14 loc) • 518 B
TypeScript
import type { ApiErrorResponse } from '../../api';
interface MetricSummaryCardProps {
title: string;
format: string;
value: number;
previousValue?: number;
loading: boolean;
isEmpty: boolean;
currency?: string;
error?: ApiErrorResponse;
refresh: () => void;
}
declare const MetricSummaryCard: ({ title, format, value, previousValue, loading, isEmpty, currency, error, refresh, }: MetricSummaryCardProps) => import("react/jsx-runtime").JSX.Element;
export default MetricSummaryCard;