Skip to content

Commit

Permalink
feat(feedback): Add onClose description to user-feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
arya-s committed Nov 14, 2023
1 parent 740a9dd commit 2c642d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/platforms/common/enriching-events/user-feedback.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ An override for Sentry’s automatic language detection (e.g. `lang=de`)
| `errorGeneric` | An unknown error occurred while submitting your report. Please try again. |
| `errorFormEntry` | Some fields were invalid. Please correct the errors and try again. |
| `successMessage` | Your feedback has been sent. Thank you! |
| `onLoad` | n/a |
| `onLoad` | n/a - **an optional callback that will be invoked when the widget opens** |
| `onClose` | n/a - **an optional callback that will be invoked when the widget closes** |

## User Feedback API

Expand Down Expand Up @@ -160,7 +161,8 @@ An override for Sentry’s automatic language detection (e.g. `lang=de`)
| `errorGeneric` | An unknown error occurred while submitting your report. Please try again. |
| `errorFormEntry` | Some fields were invalid. Please correct the errors and try again. |
| `successMessage` | Your feedback has been sent. Thank you! |
| `onLoad` | n/a |
| `onLoad` | n/a - **an optional callback that will be invoked when the widget opens** |
| `onClose` | n/a - **an optional callback that will be invoked when the widget closes** |

## User Feedback API

Expand Down

0 comments on commit 2c642d7

Please sign in to comment.