{"size": 939, "ext": "js", "max_stars_repo_path": "backend/dist/static/js/79.221822e0.chunk.js", "max_stars_repo_name": "jneljneljnel/bcwebapp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "backend/dist/static/js/79.221822e0.chunk.js", "max_issues_repo_name": "jneljneljnel/bcwebapp", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "backend/dist/static/js/79.221822e0.chunk.js", "max_forks_repo_name": "jneljneljnel/bcwebapp", "max_forks_repo_forks_event_min_datetime": "2019-08-11T19:24:57.000Z", "max_forks_repo_forks_event_max_datetime": "2019-08-11T19:24:57.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 469.5, "max_line_length": 893, "alphanum_fraction": 0.7071352503}
(window.webpackJsonp=window.webpackJsonp||[]).push([[79],{1417:function(t,e,n){"use strict";n.r(e);var o=n(68),c=n(69),i=n(71),a=n(70),r=n(72),p=n(1),s=n.n(p),l=function(t){function e(){return Object(o.a)(this,e),Object(i.a)(this,Object(a.a)(e).apply(this,arguments))}return Object(r.a)(e,t),Object(c.a)(e,[{key:"convertHtmlToPdf",value:function(t){fetch("https://v2018.api2pdf.com/chrome/html",{method:"post",headers:{Accept:"application/json","Content-Type":"application/json",Authorization:"YOUR-API-KEY"},body:JSON.stringify({html:"<p>hello world from reactjs</p>",inlinePdf:!0,fileName:"test.pdf"})}).then(function(t){return t.json()}).then(function(t){return console.log(t.pdf)})}},{key:"render",value:function(){return s.a.createElement("div",{className:"App"},s.a.createElement("button",{onClick:this.convertHtmlToPdf.bind(this)},"Generate Pdf"))}}]),e}(s.a.Component);e.default=l}}]);
//# sourceMappingURL=79.221822e0.chunk.js.map