We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee9c7a commit ecd62c0Copy full SHA for ecd62c0
README.md
@@ -66,10 +66,10 @@ import React, { useState } from 'react';
66
import ReactDOM from 'react-dom';
67
68
function App() {
69
- const [markdown, setMarkdown] = useState('# This is a H1 \n## This is a H2 \n###### This is a H6');
+ const [markdown, setMarkdown] = useState("");
70
return (
71
<MarkdownEditor
72
- value={markdown}
+ value="# This is a H1 \n## This is a H2 \n###### This is a H6"
73
onChange={(editor, data, value) => setMarkdown(value)}
74
/>
75
);
@@ -145,4 +145,4 @@ npm run doc
145
146
## License
147
148
-[MIT © Kenny Wong](./LICENSE)
+[MIT © Kenny Wong](./LICENSE)
0 commit comments