@@ -47,26 +47,26 @@ All the text that you see in the Feedback widget can be customized.
4747
4848The following options can be configured for the integration in ` feedbackIntegration({}) ` or passed in the ` FeedbackWidget ` component props:
4949
50- | Key | Default | Description |
51- | ----------------------------- | ------------------------------------------------------- | --------------------------------------------------------------- |
52- | ` formTitle ` | ` "Report a Bug" ` | The title at the top of the feedback widget. |
53- | ` submitButtonLabel ` | ` "Send Bug Report" ` | The label of the submit button used in the feedback widget. |
54- | ` cancelButtonLabel ` | ` "Cancel" ` | The label of cancel buttons used in the feedback widget. |
55- | ` addScreenshotButtonLabel ` | ` "Add a screenshot" ` | The label of the button to add a screenshot to the widget. |
56- | ` removeScreenshotButtonLabel ` | ` "Remove screenshot" ` | The label of the button to remove the screenshot. |
57- | ` captureScreenshotButtonLabel ` | ` "Take a screenshot" ` | The label for the button that shows the capture screenshot button. |
58- | ` nameLabel ` | ` "Name" ` | The label of the name input field. |
59- | ` namePlaceholder ` | ` "Your Name" ` | The placeholder for the name input field. |
60- | ` emailLabel ` | ` "Email" ` | The label of the email input field. |
61- | ` emailPlaceholder ` | ` "[email protected] " ` | The placeholder for the email input field.
| 62- | ` isRequiredLabel ` | ` "(required)" ` | The label shown next to an input field that is required. |
63- | ` messageLabel ` | ` "Description" ` | The label for the feedback description input field. |
64- | ` messagePlaceholder ` | ` "What's the bug? What did you expect?" ` | The placeholder for the feedback description input field. |
65- | ` successMessageText ` | ` "Thank you for your report!" ` | The message displayed after a successful feedback submission. |
66- | ` errorTitle ` | ` "Error" ` | The title of the error message dialog. |
67- | ` formError ` | ` "Please fill out all required fields." ` | Form validation error message. |
68- | ` emailError ` | ` "Please enter a valid email address." ` | Email validation error mesage. |
69- | ` genericError ` | ` "Unable to send feedback due to an unexpected error." ` | The generic error message. |
50+ | Key | Default | Description |
51+ | ------------------------------ | ------------------------------------------------------- | ---- --------------------------------------------------------------- |
52+ | ` formTitle ` | ` "Report a Bug" ` | The title at the top of the feedback widget. |
53+ | ` submitButtonLabel ` | ` "Send Bug Report" ` | The label of the submit button used in the feedback widget. |
54+ | ` cancelButtonLabel ` | ` "Cancel" ` | The label of cancel buttons used in the feedback widget. |
55+ | ` addScreenshotButtonLabel ` | ` "Add a screenshot" ` | The label of the button to add a screenshot to the widget. |
56+ | ` removeScreenshotButtonLabel ` | ` "Remove screenshot" ` | The label of the button to remove the screenshot. |
57+ | ` captureScreenshotButtonLabel ` | ` "Take a screenshot" ` | The label for the button that triggers the capture screenshot flow. |
58+ | ` nameLabel ` | ` "Name" ` | The label of the name input field. |
59+ | ` namePlaceholder ` | ` "Your Name" ` | The placeholder for the name input field. |
60+ | ` emailLabel ` | ` "Email" ` | The label of the email input field. |
61+ | ` emailPlaceholder ` | ` "[email protected] " ` | The placeholder for the email input field.
| 62+ | ` isRequiredLabel ` | ` "(required)" ` | The label shown next to an input field that is required. |
63+ | ` messageLabel ` | ` "Description" ` | The label for the feedback description input field. |
64+ | ` messagePlaceholder ` | ` "What's the bug? What did you expect?" ` | The placeholder for the feedback description input field. |
65+ | ` successMessageText ` | ` "Thank you for your report!" ` | The message displayed after a successful feedback submission. |
66+ | ` errorTitle ` | ` "Error" ` | The title of the error message dialog. |
67+ | ` formError ` | ` "Please fill out all required fields." ` | Form validation error message. |
68+ | ` emailError ` | ` "Please enter a valid email address." ` | Email validation error mesage. |
69+ | ` genericError ` | ` "Unable to send feedback due to an unexpected error." ` | The generic error message. |
7070
7171Example of customization:
7272
0 commit comments