@tamagui/scroll-view 1.2.8 → 1.2.10
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/dist/esm/ScrollView.mjs +20 -0
- package/dist/esm/ScrollView.mjs.map +7 -0
- package/dist/esm/index.mjs +2 -0
- package/dist/esm/index.mjs.map +7 -0
- package/dist/jsx/ScrollView.mjs +20 -0
- package/dist/jsx/ScrollView.mjs.map +7 -0
- package/dist/jsx/index.mjs +2 -0
- package/dist/jsx/index.mjs.map +7 -0
- package/package.json +3 -3
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { styled } from "@tamagui/core";
|
|
2
|
+
import { setupReactNative } from "@tamagui/core";
|
|
3
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
4
|
+
setupReactNative({
|
|
5
|
+
ScrollView: ScrollViewNative
|
|
6
|
+
});
|
|
7
|
+
const ScrollView = styled(
|
|
8
|
+
ScrollViewNative,
|
|
9
|
+
{
|
|
10
|
+
name: "ScrollView",
|
|
11
|
+
scrollEnabled: true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
isReactNative: true
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
export {
|
|
18
|
+
ScrollView
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=ScrollView.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ScrollView.tsx"],
|
|
4
|
+
"sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { setupReactNative } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nsetupReactNative({\n ScrollView: ScrollViewNative,\n})\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n scrollEnabled: true,\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,wBAAwB;AACjC,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,eAAe;AAAA,EACjB;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { styled } from "@tamagui/core";
|
|
2
|
+
import { setupReactNative } from "@tamagui/core";
|
|
3
|
+
import { ScrollView as ScrollViewNative } from "react-native";
|
|
4
|
+
setupReactNative({
|
|
5
|
+
ScrollView: ScrollViewNative
|
|
6
|
+
});
|
|
7
|
+
const ScrollView = styled(
|
|
8
|
+
ScrollViewNative,
|
|
9
|
+
{
|
|
10
|
+
name: "ScrollView",
|
|
11
|
+
scrollEnabled: true
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
isReactNative: true
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
export {
|
|
18
|
+
ScrollView
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=ScrollView.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/ScrollView.tsx"],
|
|
4
|
+
"sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { setupReactNative } from '@tamagui/core'\nimport { ScrollView as ScrollViewNative } from 'react-native'\n\nsetupReactNative({\n ScrollView: ScrollViewNative,\n})\n\nexport const ScrollView = styled(\n ScrollViewNative,\n {\n name: 'ScrollView',\n scrollEnabled: true,\n },\n {\n isReactNative: true,\n }\n)\n\nexport type ScrollViewProps = GetProps<typeof ScrollView>\n"],
|
|
5
|
+
"mappings": "AAAA,SAAmB,cAAc;AACjC,SAAS,wBAAwB;AACjC,SAAS,cAAc,wBAAwB;AAE/C,iBAAiB;AAAA,EACf,YAAY;AACd,CAAC;AAEM,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,eAAe;AAAA,EACjB;AAAA,EACA;AAAA,IACE,eAAe;AAAA,EACjB;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/scroll-view",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.10",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"lint:fix": "../../node_modules/.bin/rome check --apply-suggested src"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@tamagui/core": "^1.2.
|
|
24
|
+
"@tamagui/core": "^1.2.10"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tamagui/build": "^1.2.
|
|
31
|
+
"@tamagui/build": "^1.2.10",
|
|
32
32
|
"react": "^18.2.0",
|
|
33
33
|
"react-dom": "^18.2.0"
|
|
34
34
|
},
|