diff --git a/src/App.js b/src/App.js index 6cd6785..e7a8fc1 100644 --- a/src/App.js +++ b/src/App.js @@ -8,18 +8,25 @@ import './App.css'; import 'bootstrap-4-grid/css/grid.min.css'; class App extends Component { + constructor(props) { + super(props); + this.appContainer = React.createRef(); + } + handlePDFExport = () => { + savePDF(ReactDOM.findDOMNode(this.appContainer), { paperSize: 'auto' }); + } render() { return (
-
+
this.appContainer = el}>

Sales | Q4 2018

- +