Coder Social home page Coder Social logo

kunwarvsuryavanshi / reacttopdf Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 313 KB

React to pdf genrates PDF for any react component.

Home Page: https://www.npmjs.com/package/@kunwarji/react-to-pdf

License: MIT License

HTML 26.48% JavaScript 67.89% CSS 5.63%
npm react pdf-generation react-pdf react-to-pdf

reacttopdf's Introduction

Why, hello there 👋

Who am I? Just another developer who is trying and figuring out things like you 😉

Feel free to explore the projects that I have worked on.



My GitHub Stats


Visitor count

We are all like fireworks: We climb, we shine and always go our separate ways and become further apart. But even when that time comes, let’s not disappear like a firework and continue to shine… forever.” — Hitsugaya Toshiro

Show some ❤️ by starring some of the repositories! 😅

reacttopdf's People

Contributors

kunwarvsuryavanshi avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

reacttopdf's Issues

Next.js: Module not found -> prop-types

Fist of all, thanks for your work!

I was trying out this package, but I'm having a hard time. I use Next 13.0.4. and I get the following message.

Screenshot 2022-11-24 at 11 00 20

This can be easily fixed by running

npm install prop-types

But it would be better to have that installed as a dev-dependency when installing your package. Unfortunately I do not know, how to fix this myself otherwise I would create a PR...

I tested and confirmed this behaviour on Next 12.2.0. But on React 18.2.0 (by create-react-app) it works.

Ps. In ReactToPDF.jsx on line 46 seems to be a typo, see Link.

ReactToPDF.propTyppes = { -> ReactToPDF.propTypes = {

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.