I'm trying to display LaTeX math equations in my React Native application. Initially, I tried using react-native-mathjax-svg and react-native-math-view, but none of them seem to render the math properly.
What I Tried: 1️⃣ Using react-native-mathjax-svg
import React from 'react';
import { View } from 'react-native';
import MathJaxSvg from 'react-native-mathjax-svg';
const App = () => {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<MathJaxSvg math={"\\(x^2 + y^2 = z^2\\)"} fontSize={20} color="black" />
</View>
);
};
export default App;