react-use
Advanced tools
Comparing version 1.0.0 to 1.1.0
import useBattery from './useBattery'; | ||
import useCounter from './useCounter'; | ||
import useFavicon from './useFavicon'; | ||
import useGeolocation from './useGeolocation'; | ||
@@ -18,2 +19,2 @@ import useHover from './useHover'; | ||
import useWindowSize from './useWindowSize'; | ||
export { useBattery, useCounter, useGeolocation, useHover, useIdle, useList, useLocation, useMap, useMedia, useMediaDevices, useMotion, useNetwork, useOrientation, useSize, useTitle, useToggle, useWindowSize, }; | ||
export { useBattery, useCounter, useFavicon, useGeolocation, useHover, useIdle, useList, useLocation, useMap, useMedia, useMediaDevices, useMotion, useNetwork, useOrientation, useSize, useTitle, useToggle, useWindowSize, }; |
@@ -7,2 +7,4 @@ "use strict"; | ||
exports.useCounter = useCounter_1.default; | ||
const useFavicon_1 = require("./useFavicon"); | ||
exports.useFavicon = useFavicon_1.default; | ||
const useGeolocation_1 = require("./useGeolocation"); | ||
@@ -9,0 +11,0 @@ exports.useGeolocation = useGeolocation_1.default; |
@@ -7,4 +7,4 @@ "use strict"; | ||
document.title = title; | ||
}); | ||
}, [title]); | ||
}; | ||
exports.default = useTitle; |
{ | ||
"name": "react-use", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Collection of React Hooks", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -56,2 +56,3 @@ <div align="center"> | ||
- [__Side-effects__](./docs/Side-effects.md) | ||
- [`useFavicon`](./docs/useFavicon.md) — sets favicon of the page. | ||
- [`useTitle`](./docs/useTitle.md) — sets title of the page. | ||
@@ -58,0 +59,0 @@ <br/> |
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
32914
47
839
71