Skip to content

Commit

Permalink
Updates changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis committed Nov 27, 2024
1 parent 8a7018e commit fa41526
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
- Adds new `captureFeedback` and deprecates the `captureUserFeedback` API ([#4320](https://github.com/getsentry/sentry-react-native/pull/4320), [#4322](https://github.com/getsentry/sentry-react-native/pull/4322))

```jsx
import * as Sentry from "@sentry/react-native";
import { SendFeedbackParams } from "@sentry/react-native";
import * as Sentry from '@sentry/react-native';
import { SendFeedbackParams } from '@sentry/react-native';

const eventId = Sentry.captureMessage("My Message");
const eventId = Sentry.captureMessage('My Message');
// OR: const eventId = Sentry.lastEventId();

const userFeedback: SendFeedbackParams = {
name: 'John Doe",
name: 'John Doe',
email: '[email protected]',
message: 'Hello World!',
associatedEventId: eventId,// Optional
Expand Down

0 comments on commit fa41526

Please sign in to comment.