Master React
Published in

Master React

Save React Component as png, jpeg, or PDF

Simple but useful functionality to have when creating React components is the ability to save a component as an image or as a PDF.

Sure your users can just take a screenshot of the current screen or you could just add a window.print,

however, adding a png, jpeg, or better yet pdf to the app menu makes it more convenient for the users or for some less savvy users that don’t know how to save images.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store