use npm install
npm install z-react-markdown
es5
require('z-react-markdown/lib/style.css');
var Editor = require('z-react-markdown);
es6
import 'z-react-markdown/lib/style.css';
import Editor from 'z-react-markdown';
<Editor onChange={} width={} height={}/>
Property | Type | Description |
---|---|---|
onChange | Function | {mdStr: '', html: ''} |
width | String or Integer | |
height | String or Integer |