Skip to content

Commit 1a91046

Browse files
authored
Merge branch 'master' into pwseg-patch-1
2 parents 7984413 + 727c03d commit 1a91046

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_includes/content/react-dest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ The {{thisDestName}} device-mode destination SDK is only available for {{thisDes
1515
{%endif%}
1616

1717
To add the {{thisDestName}} device-mode SDK to a [React Native](/docs/connections/sources/catalog/libraries/mobile/react-native/) project:
18-
1. Navigate to the root folder of your project, and run a `yarn add {{thisDestName | downcase | replace: " ", "-" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}` command to add the destination SDK to your project.
18+
1. Navigate to the root folder of your project, and run a `yarn add @segment/analytics-react-native-{{thisDestName | downcase | replace: " ", "-" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}` command to add the destination SDK to your project.
1919
2. Add an `import` statement to your project, as in the example below.
2020
```js
21-
import {{thisDestName | replace: " ", "" }} from '@segment/analytics-react-native-{{thisDestName | downcase | replace: " ", "" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}'
21+
import {{thisDestName | replace: " ", "" }} from '@segment/analytics-react-native-{{thisDestName | downcase | replace: " ", "-" }}{% if thisDestRNspecific %}-{{thisDestRNspecific}}{%endif%}'
2222
```
2323
3. In the same project file, add the destination to the `using` list in the `await` command.
2424
```js

0 commit comments

Comments
 (0)