@octopusdeploy/design-system-components
Version:
The design systems component library.
22 lines (21 loc) • 526 B
TypeScript
export interface ErrorSummaryProps {
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 ErrorSummary({ error }: ErrorSummaryProps): import("react/jsx-runtime").JSX.Element;
declare function ErrorHelp({ help }: {
help: ErrorHelp;
}): import("react/jsx-runtime").JSX.Element | undefined;
export {};