@custom-react-hooks/use-on-screen
Advanced tools
Comparing version 1.5.0 to 1.5.1
{ | ||
"name": "@custom-react-hooks/use-on-screen", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"author": "Bane Grozdanovic <banegrozdanovic@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -38,2 +38,13 @@ # useOnScreen Hook | ||
## Importing the Hook | ||
The `useOnScreen` hook must be imported using a named import as shown below: | ||
**Named Import:** | ||
```javascript | ||
import { useOnScreen } from '@custom-react-hooks/use-on-screen'; | ||
``` | ||
This approach ensures that the hook integrates seamlessly into your project, maintaining consistency and predictability in how you use our package. | ||
## Usage | ||
@@ -40,0 +51,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7462
89