@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
12 lines (11 loc) • 496 B
TypeScript
import type { ReactNode } from 'react';
import type { ApiErrorResponse } from '../../api';
interface ChartWrapperProps {
loading: boolean;
error: ApiErrorResponse | undefined;
isEmpty: boolean;
onRetry: () => void;
children: ReactNode;
}
declare const ChartWrapper: ({ loading, error, isEmpty, onRetry, children }: ChartWrapperProps) => string | number | boolean | import("react/jsx-runtime").JSX.Element | Iterable<ReactNode> | null | undefined;
export default ChartWrapper;