Skip to content

Commit 9853630

Browse files
committed
Update changelog
1 parent 61886c2 commit 9853630

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

CHANGELOG.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,29 @@
88
99
## Unreleased
1010

11+
### Features
12+
13+
- User Feedback Form Component Beta ([#4320](https://github.com/getsentry/sentry-react-native/pull/4328))
14+
15+
To collect user feedback from inside your application add the `FeedbackForm` component.
16+
17+
```jsx
18+
import { FeedbackForm } from "@sentry/react-native";
19+
...
20+
<FeedbackForm/>
21+
```
22+
or auto-inject it by calling the `showFeedbackForm`:
23+
```jsx
24+
import { showFeedbackForm } from '@sentry/react-native';
25+
...
26+
<Button
27+
title="Show feedback form"
28+
onPress={() => {
29+
showFeedbackForm(_props.navigation);
30+
}}
31+
/>
32+
```
33+
1134
### Changes
1235

1336
- Rename `navigation.processing` span to more expressive `Navigation dispatch to screen A mounted/navigation cancelled` ([#4423](https://github.com/getsentry/sentry-react-native/pull/4423))
@@ -62,27 +85,6 @@
6285

6386
To learn how to attach context data to the feedback visit [the documentation](https://docs.sentry.io/platforms/react-native/user-feedback/).
6487

65-
- User Feedback Form Component Beta ([#4320](https://github.com/getsentry/sentry-react-native/pull/4328))
66-
67-
To collect user feedback from inside your application add the `FeedbackForm` component.
68-
69-
```jsx
70-
import { FeedbackForm } from "@sentry/react-native";
71-
...
72-
<FeedbackForm/>
73-
```
74-
or auto-inject it by calling the `showFeedbackForm`:
75-
```jsx
76-
import { showFeedbackForm } from '@sentry/react-native';
77-
...
78-
<Button
79-
title="Show feedback form"
80-
onPress={() => {
81-
showFeedbackForm(_props.navigation);
82-
}}
83-
/>
84-
```
85-
8688
- Export `Span` type from `@sentry/types` ([#4345](https://github.com/getsentry/sentry-react-native/pull/4345))
8789
- Add RN SDK package to `sdk.packages` on Android ([#4380](https://github.com/getsentry/sentry-react-native/pull/4380))
8890

0 commit comments

Comments
 (0)