Skip to content

Stonelinks/MSWordContainer

Repository files navigation

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')

ReactDOM.render(
  <MSWordContainer title={"example.doc"}>
    <p>
      Hey there, this is an example of the MSWordContainer in all its glory.
    </p>
  </MSWordContainer>,
  document.getElementById('container')
)

Options

  • title - string Title of the document

License

MIT

About

Microsoft Word as a React component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published