mswordcontainer

0.0.13 • Public • Published

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

Package Sidebar

Install

npm i mswordcontainer

Weekly Downloads

1

Version

0.0.13

License

MIT

Unpacked Size

84.3 kB

Total Files

4

Last publish

Collaborators

  • stonelinks