File tree Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Expand file tree Collapse file tree 1 file changed +26
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
### Features
12
12
13
- - Adds the ` FeedbackButton ` component that shows the Feedback Widget ([ #4378 ] ( https://github.com/getsentry/sentry-react-native/pull/4378 ) )
14
- - Adds the ` ScreenshotButton ` component that takes a screenshot ([ #4714 ] ( https://github.com/getsentry/sentry-react-native/issues/4714 ) )
15
- - Add Feedback Widget theming ([ #4677 ] ( https://github.com/getsentry/sentry-react-native/pull/4677 ) )
13
+ - User Feedback Widget Updates
14
+ - ` FeedbackButton ` for easy access to the widget ([ #4378 ] ( https://github.com/getsentry/sentry-react-native/pull/4378 ) )
15
+ - ` ScreenshotButton ` for capturing the application visuals ([ #4714 ] ( https://github.com/getsentry/sentry-react-native/issues/4714 ) )
16
+ - Theming support to better align with the application styles ([ #4677 ] ( https://github.com/getsentry/sentry-react-native/pull/4677 ) )
17
+
18
+ ``` js
19
+ Sentry .init ({
20
+ integrations: [
21
+ Sentry .feedbackIntegration ({
22
+ enableTakeScreenshot: true , // Enables `ScreenshotButton`
23
+ themeDark: {
24
+ // Add dark theme styles here
25
+ },
26
+ themeLight: {
27
+ // Add light theme styles here
28
+ },
29
+ }),
30
+ ],
31
+ });
32
+
33
+ Sentry .showFeedbackButton ();
34
+ Sentry .hideFeedbackButton ();
35
+ ```
36
+
37
+ To learn more visit [ the documentation] ( https://docs.sentry.io/platforms/react-native/user-feedback ) .
38
+
16
39
- Re-export ` ErrorEvent ` and ` TransactionEvent ` types ([ #4859 ] ( https://github.com/getsentry/sentry-react-native/pull/4859 ) )
17
40
18
41
### Fixes
You can’t perform that action at this time.
0 commit comments