Is there an in-built "Export plot" module for ggplot made in a shiny app?

We have made an RShiny app to provide a way for non-R users to use our R package and generate plots with it. I now want to allows users to save publication quality customizable figures from the app. The options I want to give users are pretty much exactly the options given by RStudio when clicking Export -> Save as image:

Before I reinvent the wheel, does anyone know if such a shiny module already exists that I could plug into my app?

A quick Google search turned up a likely candidate: https://cran.r-project.org/web/packages/periscope/vignettes/downloadablePlot-module.html.