1.0.3 • Published 1 year ago
use-app-visibility v1.0.3
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();