@letanure/resend-cli
Version:
A command-line interface for Resend email API
22 lines • 851 B
TypeScript
export interface ErrorScreenProps {
/** Error title (defaults to 'Error') */
title?: string;
/** Error message to display */
message: string;
/** Optional suggestion for resolving the error */
suggestion?: string;
/** Header text for the layout */
headerText: string;
/** Callback when user exits */
onExit: () => void;
/** Show retry button/option */
showRetry?: boolean;
/** Callback when user retries */
onRetry?: () => void;
}
/**
* Standardized error screen component that provides consistent error display
* across all modules. Replaces the need for custom error layouts.
*/
export declare const ErrorScreen: ({ title, message, suggestion, headerText, onExit, showRetry, onRetry, }: ErrorScreenProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ErrorScreen.d.ts.map