How to use ionic react with bluetooth printer?

I have researched the ionic documentation and I found 1 plugin to work with a printer: Printer Plugin | Cordova-Plugin-Printer for Ionic Apps. But in this document, it just has the example for angular, I do not know how to use with ionic react, such as register plugin, choose a device, print content, setting up options, or something like this…
Has anyone worked with it before? or you can send me a guide link, an example… It will save my day! Thanks every one <3