I have a button on a web page that triggers a print via javascripts window.print() method. Unfortunately, in the print preview, I can still see the button that triggered the print. Is there a way I can set a property to hide this button after being clicked or hide it when I'm trying to print?
I couldn't find anything useful on the Material-UI site, nor anything on SO. I'm thinking I will have to handle this using CSS, but I'm curious if anyone else has run into this issue and if they found another way to hide a button.
Also - If necessary, I could hide my entire toolbar group, but nothing stands out to me on that documentation either.
