UNPKG

pagamio-frontend-commons-lib

Version:

Pagamio library for Frontend reusable components like the form engine and table container

15 lines (14 loc) 512 B
import type { ApiErrorResponse } from '../../api'; interface MetricSummaryCardProps { title: string; format: string; value: number; previousValue: number; change: number; loading: boolean; isEmpty: boolean; error?: ApiErrorResponse; refresh: () => void; } declare const MetricSummaryCard: ({ title, format, value, previousValue, change, loading, isEmpty, error, refresh, }: MetricSummaryCardProps) => import("react/jsx-runtime").JSX.Element; export default MetricSummaryCard;