I have a certain use case of being able to print a document directly from the modern library using a button. Almost a one click solution. I had a quick look around and found ways to print a modern SharePoint page, or to print list items.
But I didn't find a way to implement this using SharePoint framework. Has anyone seen a similar solution?