@tamagui/remove-scroll 1.46.1 → 1.47.0
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/remove-scroll",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.47.0",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"react-remove-scroll": "^2.5.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@tamagui/build": "1.
|
|
33
|
+
"@tamagui/build": "1.47.0",
|
|
34
34
|
"react": "^18.2.0"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { memo } from "react";
|
|
2
|
-
import { RemoveScroll as RS } from "react-remove-scroll";
|
|
3
|
-
const RemoveScroll = memo((props) => {
|
|
4
|
-
if (!props.children)
|
|
5
|
-
return null;
|
|
6
|
-
return <RS {...props} />;
|
|
7
|
-
});
|
|
8
|
-
const classNames = RS.classNames;
|
|
9
|
-
export {
|
|
10
|
-
RemoveScroll,
|
|
11
|
-
classNames
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=RemoveScroll.mjs.map
|
package/dist/jsx/index.mjs
DELETED