Skip to content

Commit ef8f5ac

Browse files
committed
readme
1 parent e39a8d1 commit ef8f5ac

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

packages/react/README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,4 @@ import { LaTeX } from 'latex2react';
8989
- **className** (string, optional): CSS class name
9090
- **style** (object, optional): React style object
9191
- **onRender** (function, optional): Called after successful rendering
92-
- **onError** (function, optional): Called if rendering fails
93-
94-
### MathJaxProvider
95-
96-
Provides MathJax context for mathematical rendering:
97-
98-
```jsx
99-
import { MathJaxProvider } from 'latex2react';
100-
101-
<MathJaxProvider
102-
config={mathJaxConfig} // Optional: MathJax configuration
103-
loading={<Loading />} // Optional: Loading component
104-
error={<Error />} // Optional: Error component
105-
>
106-
{children}
107-
</MathJaxProvider>
108-
```
92+
- **onError** (function, optional): Called if rendering fails

0 commit comments

Comments
 (0)