Code to convert a HTML file into PDF in ReactJS

I need to download a HTML file in PDF format. I tried some plugins but that doesn’t work. I need help.


import React from ‘react’;
class App extends React.Component {
htmlToPdf()
{
//code need to be written
}
render() {

return (

);

}
}

export default App;

Beginner Asked on May 4, 2018 in Software.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.