mswordcontainer
v0.0.13
Published
A React Microsoft Word Container
Downloads
25
Maintainers
Readme
MSWordContainer
A React Microsoft Word Container
Demo available at http://stonelinks.org/MSWordContainer/
Installing
npm install --save mswordcontainer
Basic usage
const React = require('react')
const ReactDOM = require('react-dom')
const MSWordContainer = require('mswordcontainer')
const input = '# This is a header\n\nAnd this is a paragraph'
ReactDOM.render(
<MSWordContainer title={"example.doc"}>
<p>
Hey there, this is an example of the MSWordContainer in all its
circa-2000 glory.
</p>
</MSWordContainer>,
document.getElementById('container')
)
Options
title
- string Title of the document
License
MIT © Espen Hovlandsdal