Created
January 29, 2020 16:35
-
-
Save cjharkins/fa10936bb54f26db31944aa2826604a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jsPDF from 'jspdf' | |
export default function({data, headers, filename}) { | |
const doc = new jsPDF({...}) | |
const pageDimensions = {...} | |
const pageMargin = 50 | |
const liveArea = {...} | |
const padding = 15 // NEW CODE | |
doc.setFontSize(8) // NEW CODE | |
doc.save(filename) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment