/draft-js-export-pdfmake

DraftJS: export ContentState to PdfMake content object

Primary LanguageJavaScriptISC LicenseISC

DraftJS: export ContentState to pdfmake content object

Travis Status

This is a tool to convert DraftJS ContentState to pdfmake content object.

Available Commands

  • yarn build compiles the src folder into lib
  • yarn output generates an output.pdf in the root path
  • yarn test runs the test =)

Installation

yarn add draft-js-export-pdfmake

Contributing

If you want to help out, please open an issue to discuss or just go ahead and submit a PR.

License

This software is BSD Licensed.