@octopusdeploy/design-system-components
Version:
The design systems component library.
19 lines (18 loc) • 403 B
TypeScript
export interface ErrorPanelProps {
error: ErrorInfo;
}
export interface ErrorInfo {
message: string;
details: ErrorDetail[];
help?: ErrorHelp;
}
interface ErrorDetail {
text?: string;
link?: string;
}
interface ErrorHelp {
text?: string;
link?: string;
}
export declare function ErrorPanel({ error }: ErrorPanelProps): import("react/jsx-runtime").JSX.Element;
export {};