import { View } from 'react-native';
import MathJaxSvg from 'react-native-mathjax-svg';
const App = () => {
return (
);
};
export default App;
< /code>
(NOBRIDGE) LOG MathJaxSvg [Function MathJax]
It seems like the component is not bridging properly.
< /code>
JSX < /p>
import React from 'react';
import { View, Text } from 'react-native';
import MathView from 'react-native-math-view';
const App = () => {
return (
Testing MathJax:
);
};
< /code>
Standard -App;
Warning: React.jsx: type is invalid -- expected a string or function but got: undefined.
< /code>
Verwenden von React-Native-WebView mit Mathjax: < /p>
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:
);
};
< /code>
Standard-App; Build.gradle oder manuell verlinken)?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
< /code>
Alle Erkenntnisse oder Korrekturen wären sehr geschätzt!