@colisweb/rescript-toolkit 2.62.2 → 2.62.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5999,3 +5999,8 @@ module RiTruckLine = {
|
|
|
5999
5999
|
external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
|
|
6000
6000
|
"RiTruckLine"
|
|
6001
6001
|
}
|
|
6002
|
+
module GrUserWorker = {
|
|
6003
|
+
@module("react-icons/gr") @react.component
|
|
6004
|
+
external make: (~size: int=?, ~color: string=?, ~className: string=?) => React.element =
|
|
6005
|
+
"GrUserWorker"
|
|
6006
|
+
}
|
package/src/vendors/ReactUse.res
CHANGED
|
@@ -60,3 +60,11 @@ external useIntersection: (
|
|
|
60
60
|
React.ref<'a>,
|
|
61
61
|
intersectionOptions<'domElement>,
|
|
62
62
|
) => Js.Nullable.t<intersectionObserver> = "useIntersection"
|
|
63
|
+
|
|
64
|
+
type scrollCoords = {
|
|
65
|
+
x: int,
|
|
66
|
+
y: int,
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@module("react-use")
|
|
70
|
+
external useWindowScroll: unit => scrollCoords = "useWindowScroll"
|