Skip to content

Commit e39a8d1

Browse files
committed
readme
1 parent 070a059 commit e39a8d1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

packages/react/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ npm install latex2react
1919

2020
```jsx
2121
import React from 'react';
22-
import { LaTeX, MathJaxProvider } from 'latex2react';
22+
import { LaTeX } from 'latex2react';
2323

2424
const content = String.raw`
2525
Here is some great equation:
@@ -56,12 +56,7 @@ And now for a great diagram:
5656

5757
function App() {
5858
return (
59-
<MathJaxProvider>
60-
<div>
61-
<h1>Mathematical Document</h1>
62-
<LaTeX content={content} />
63-
</div>
64-
</MathJaxProvider>
59+
<LaTeX content={content} />
6560
);
6661
}
6762

0 commit comments

Comments
 (0)