-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df19d5b
commit 61b7a4b
Showing
3 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
export type LoadErrorMessageProps = { | ||
/** | ||
* Whether to show the VirtoThinking SVG or not. | ||
* The text to display on the action button (optional). | ||
*/ | ||
image?: | ||
| "none" | ||
| "virto-thinking" | ||
| "virto-shrugging" | ||
| "virto-head-scratching"; | ||
actionButtonText?: string; | ||
/** | ||
* The title of the error message. | ||
* The team to contact if the error persists. | ||
*/ | ||
title: string; | ||
contactTeam?: "none" | "Support" | "Customer Service"; | ||
/** | ||
* The main message of the error message. | ||
* The URL to the support page (optional). | ||
*/ | ||
message: string; | ||
contactUrl?: string; | ||
/** | ||
* The details of the error message (optional). | ||
*/ | ||
errorDetails?: string; | ||
/** | ||
* The team to contact if the error persists. | ||
*/ | ||
contactTeam?: "none" | "Support" | "Customer Service"; | ||
/** | ||
* The URL to the support page (optional). | ||
* Whether to show the VirtoThinking SVG or not. | ||
*/ | ||
supportUrl?: string; | ||
image?: | ||
| "none" | ||
| "virto-thinking" | ||
| "virto-shrugging" | ||
| "virto-head-scratching"; | ||
/** | ||
* The text to display on the action button (optional). | ||
* The main message of the error message. | ||
*/ | ||
actionButtonText?: string; | ||
message: string; | ||
/** | ||
* The function to call when the action button is clicked (optional). | ||
*/ | ||
onButtonClick?: () => void; | ||
/** | ||
* The title of the error message. | ||
*/ | ||
title: string; | ||
}; |