react-healthy
Version:
Incrementally check and alert your users to the health of your APIs
14 lines • 487 B
TypeScript
/// <reference types="react" />
import type { Api, ApiResponse, Messages } from '../../types';
export declare type StatusPageConfig = {
apis: Api[];
interval?: number;
messages?: Pick<Messages, 'row' | 'statusPage'>;
onError?: (api: ApiResponse) => void;
};
export declare type StatusPageProps = {
config: StatusPageConfig;
};
export declare function StatusPage({ config }: StatusPageProps): JSX.Element;
export default StatusPage;
//# sourceMappingURL=index.d.ts.map