use-app-visibility
v1.0.3
Published
A custom hook to get the visibility state of your app
Downloads
6
Maintainers
Readme
useAppVisibility
A custom hook to get the visibility state of your app
To install the dependency
npm i use-app-visibility
How to use
- Import the 'useAppVisible' hook which is named exported from "use-app-visibility"
import {useAppVisibile} from "use-app-visibility";
- Create an instance
const isVisible = useAppVisibile();