Licence
MIT
Version
0.1.5
Deps
3
Size
13 kB
Vulns
0
Weekly
0
ARMDE
Awesome React Markdown Editor
Usage
To run the example app, run:
$ cd example
$ npm start
1. Using ArmdeWrapper
import { ArmdeWrapper } from 'armde';
function App() {
return <ArmdeWrapper />;
}
2. Using ArmdeWrapper with no style
import { ArmdeWrapper } from 'armde';
function App() {
return <ArmdeWrapper noStyle />;
}
3. Using ArmdeEditor and ArmdeViewer
import { ArmdeEditor, ArmdeViewer, ArmdeConnection } from 'armde';
function App() {
const connection = new ArmdeConnection();
return (
<>
<ArmdeEditor connection={connection} />
<ArmdeViewer connection={connection} />
</>
);
}
4. Using ArmdeEditor and ArmdeViewer with no style
import { ArmdeEditor, ArmdeViewer, ArmdeConnection } from 'armde';
function App() {
const connection = new ArmdeConnection();
return (
<>
<ArmdeEditor connection={connection} noStyle />
<ArmdeViewer connection={connection} noStyle />
</>
);
}