Skip to content

Commit 646cfad

Browse files
authored
docs(RN): update code blocks to ease copy feature
1 parent 6c6d12a commit 646cfad

File tree

1 file changed

+7
-2
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+7
-2
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,19 @@ To get started with the Analytics for React Native library:
2626

2727
```js
2828
yarn add @segment/analytics-react-native @segment/sovran-react-native react-native-get-random-values
29-
# or
29+
```
30+
31+
```js
3032
npm install --save @segment/analytics-react-native @segment/sovran-react-native react-native-get-random-values
3133
```
34+
3235
3. If you want to use the default persistor for the Segment Analytics client, you also have to install `react-native-async-storage/async-storage.`
3336

3437
```js
3538
yarn add @react-native-async-storage/async-storage
36-
# or
39+
```
40+
41+
```js
3742
npm install --save @react-native-async-storage/async-storage
3843
```
3944

0 commit comments

Comments
 (0)