Open Pomax opened 7 months ago
Hi @Pomax
You can see how to use the library in React in the example.
https://github.com/privateOmega/html-to-docx/blob/master/example/react-example/src/App.js#L5
I know, this issue is to get that information surfaced in the README.md instead, because that's where people expect to find it =)
The README.md currently contains:
But this has two problems. First, the package isn't called
foobar
("Use npm to install html-to-docx"), but more importantly, it's missing the code that shows how to getHTMLtoDOCX
: is itimport { HTMLtoDOCX } from "html-to-docx"
? Is itimport HTMLtoDOCX from "html-to-docx"
? Is it something else?It would be good to update the README.md to address this omission.