@airplane/views
Version:
A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.
19 lines (18 loc) • 632 B
TypeScript
import { Component, ErrorInfo, ReactNode } from "react";
import { LatestRun } from "./LatestRunDetails";
export type Props = {
children: ReactNode;
componentName: string;
fallback?: ReactNode;
latestRun?: LatestRun;
};
export declare class ComponentErrorBoundary extends Component<Props, {
error?: Error;
errorInfo?: ErrorInfo;
errorID?: string;
}> {
constructor(props: Props);
componentDidMount(): void;
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
render(): string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
}