@react-hook/throttle
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "@react-hook/throttle", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"author": "Jared Lunde <jared@BeStellar.co> (https://jaredLunde.com)", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -37,3 +37,3 @@ [![bundlephobia](https://img.shields.io/bundlephobia/minzip/@react-hook/throttle?style=plastic)](https://bundlephobia.com/result?p=@react-hook/throttle) | ||
### `useThrottle(initialValue: any, fps: number, leading: bool)` | ||
### `useThrottle(initialValue: any, fps?: number, leading?: bool)` | ||
- `initialValue` `<any>` | ||
@@ -57,3 +57,3 @@ - Sets an initial state | ||
### `useThrottleCallback(fn: function, fps: number, leading: bool)` | ||
### `useThrottleCallback(fn: function, fps?: number, leading?: bool)` | ||
- `fn` `<any>` | ||
@@ -60,0 +60,0 @@ - This is the callback you want to throttle |
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
9778