react-mathtype-editor 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -23,7 +23,7 @@ npm install react-mathtype-editor
23
23
 
24
24
  ```
25
25
  import React, { useState } from 'react';
26
- import { MathEditor } from 'react-mathtype-editor';
26
+ import MathTypeEditor from 'react-mathtype-editor';
27
27
  import 'react-mathtype-editor/dist/style.css';
28
28
 
29
29
  function App() {
@@ -31,7 +31,7 @@ function App() {
31
31
 
32
32
  return (
33
33
  <div>
34
- <MathEditor
34
+ <MathTypeEditor
35
35
  defaultValue={formula}
36
36
  onChange={(value) => setFormula(value)}
37
37
  style={{ width: '100%' }}