Printer plugin with react

Hi, I’m trying to use the printer plugin with react, but nowhere can see a demo code.
Anyone can help me please?
Thanks