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.
2 parents 8bcb035 + ac5216b commit bf1c223Copy full SHA for bf1c223
src/index.js
@@ -1,5 +1,6 @@
1
import React from 'react';
2
import { Text, ScrollView, Platform } from 'react-native';
3
+import "./prism-config.js";
4
import SyntaxHighlighter from 'react-syntax-highlighter';
5
import SyntaxHighlighterPrism from 'react-syntax-highlighter/prism';
6
import { createStyleObject } from 'react-syntax-highlighter/create-element';
src/prism-config.js
@@ -0,0 +1 @@
+global.Prism = { disableWorkerMessageHandler: true };
0 commit comments