Что я пробовал:
Код: Выделить всё
import React from 'react';
import { View } from 'react-native';
import MathJaxSvg from 'react-native-mathjax-svg';
const App = () => {
return (
);
};
export default App;
Код: Выделить всё
(NOBRIDGE) LOG MathJaxSvg [Function MathJax]
It seems like the component is not bridging properly.
jsx
Код: Выделить всё
import React from 'react';
import { View, Text } from 'react-native';
import MathView from 'react-native-math-view';
const App = () => {
return (
Testing MathJax:
);
};
Код: Выделить всё
Warning: React.jsx: type is invalid -- expected a string or function but got: undefined.
Использование React-native-webview с MathJax:
Код: Выделить всё
import React from 'react';
import { View, Text } from 'react-native';
import { WebView } from 'react-native-webview';
const mathJaxHTML = `
Testing MathJax
\\( E = mc^2 \\)
`;
const App = () => {
return (
Testing MathJax in WebView:
);
};
В чем мне нужна помощь
Среда:
Код: Выделить всё
React Native Version: 0.73.3
react-native-mathjax-svg: 0.9.9
react-native-math-view: 3.9.5
Platform: Android & iOS
JavaScript Runtime: Hermes enabled
Подробнее здесь: https://stackoverflow.com/questions/795 ... view-react
Мобильная версия