Home > OS >  What is the best way to make a react component full screen
What is the best way to make a react component full screen

Time:11-24

In my ERP project, a module inside a component needs to be switched to** full screen**. I'm using the 'fullscreen' node package. There are some issues I'm experiencing and it seems quite complex.

Could anyone suggest a more efficient node package?

CodePudding user response:

Use react-full-screen npm

npm i react-full-screen 

https://www.npmjs.com/package/react-full-screen Using useFullScreenHandle hook in this package you can make multiple full screen components flawlessly

Happy hacking bro..

  • Related