Skip to content

Commit bee416a

Browse files
committed
add raw to avoid curly braces from being removed
1 parent 51db309 commit bee416a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ In that case if you don't request camera permissions you get this error
250250
Here's an example of how to request camera permissions.
251251

252252
```javascript
253+
{% raw %}
253254
import React, { useState, useEffect } from 'react'
254255
import { Platform, PermissionsAndroid, Image, Alert } from 'react-native'
255256
import DocumentScanner from 'react-native-document-scanner-plugin'
@@ -289,6 +290,7 @@ export default () => {
289290
/>
290291
)
291292
}
293+
{% endraw %}
292294
```
293295

294296
## License

0 commit comments

Comments
 (0)