We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f043e0 commit 51e2a11Copy full SHA for 51e2a11
README.md
@@ -4,10 +4,25 @@ Code/Syntax highlighter for React Native. Inspired by [react-native-syntax-highl
4
5
## Installation
6
7
+#### NPM
8
```sh
-npm install react-native-code-highlighter
9
-or
10
-yarn add react-native-code-highlighter
+npm install react-native-code-highlighter react-syntax-highlighter
+```
11
+
12
+#### Yarn
13
+```sh
14
+yarn add react-native-code-highlighter react-syntax-highlighter
15
16
17
+Additional for typescript
18
19
20
+npm install --save-dev @types/react-syntax-highlighter
21
22
23
24
25
+yarn add -D @types/react-syntax-highlighter
26
```
27
28
## Usage
0 commit comments