I want to export the reports and save them as PDF/CSV file on click of a custom button on my react application.
This is the screenshot of my embedded report in my react application:

I am using powerbi-client-react and following their documentation, but haven't found any way to export data using a custom button.
Thank you for your help.

Could the users simply print from the page and choose to print as a pdf?