File tree Expand file tree Collapse file tree 1 file changed +1
-17
lines changed
Expand file tree Collapse file tree 1 file changed +1
-17
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments