Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
split feedback button example
Co-authored-by: Krystof Woldrich <[email protected]>
  • Loading branch information
antonis and krystofwoldrich authored May 20, 2025
commit 10624ae2fe42c057e4f749fca122bc4723822f36
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,20 @@ The User Feedback Widget offers many customization options, and if the available
![An image showing the main customization options for the User Feedback Widget](./img/mobile-user-feedback-widget-customization.png)
To collect user feedback from inside your application, use the `showFeedbackButton`/`hideFeedbackButton` to show/hide a button that triggers the Feedback Widget or the `showFeedbackWidget` method to present the widget directly.

```javascript
```JavaScript {tabTitle:Widget}
import * as Sentry from "@sentry/react-native";

Sentry.wrap(RootComponent);

Sentry.showFeedbackWidget();
```

Sentry.showFeedbackButton();
```JavaScript {tabTitle:Button}
import * as Sentry from "@sentry/react-native";

Sentry.wrap(RootComponent);

Sentry.showFeedbackButton();
Sentry.hideFeedbackButton();
```

Expand Down