title: Export react js componet to image (png, jpeg)
body: <p>I have a react js component which renders some graphics and I want to export this component to an image (jpeg, png) so that I can export later this image to a xls file.</p>
  
  <p>I found a module repng but I get some errors when importing this error.</p>