react-native-html-to-pdf
react-native-html-to-pdf copied to clipboard
generate pdf on a single page
i work generating very large documents and i would like to be able to generate all the content on a single page. how can i do this, generate all the content on a single page without breaking pages?
@thiagomachado1998 resolved this by setting document height dynamically based on the content for instance: const options = { html: '<h1>content</h1>', height: (calculate the height based on the content you add)}