@tamagui/scroll-view 2.0.0-1769439083296 → 2.0.0-1769464790617
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 +4 -4
- package/src/ScrollView.tsx +2 -2
- package/types/ScrollView.d.ts +2 -2
- package/types/ScrollView.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/scroll-view",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-1769464790617",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@tamagui/stacks": "2.0.0-
|
|
43
|
-
"@tamagui/web": "2.0.0-
|
|
42
|
+
"@tamagui/stacks": "2.0.0-1769464790617",
|
|
43
|
+
"@tamagui/web": "2.0.0-1769464790617"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tamagui/build": "2.0.0-
|
|
46
|
+
"@tamagui/build": "2.0.0-1769464790617",
|
|
47
47
|
"react": "*",
|
|
48
48
|
"react-native": "0.81.5"
|
|
49
49
|
},
|
package/src/ScrollView.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fullscreenStyle } from '@tamagui/stacks'
|
|
2
|
-
import type { GetProps } from '@tamagui/web'
|
|
2
|
+
import type { GetProps, GetRef } from '@tamagui/web'
|
|
3
3
|
import { styled } from '@tamagui/web'
|
|
4
4
|
import { ScrollView as ScrollViewNative } from 'react-native'
|
|
5
5
|
|
|
@@ -22,6 +22,6 @@ export const ScrollView = styled(
|
|
|
22
22
|
}
|
|
23
23
|
)
|
|
24
24
|
|
|
25
|
-
export type ScrollView =
|
|
25
|
+
export type ScrollView = GetRef<typeof ScrollView>
|
|
26
26
|
|
|
27
27
|
export type ScrollViewProps = GetProps<typeof ScrollView>
|
package/types/ScrollView.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GetProps } from '@tamagui/web';
|
|
1
|
+
import type { GetProps, GetRef } from '@tamagui/web';
|
|
2
2
|
import { ScrollView as ScrollViewNative } from 'react-native';
|
|
3
3
|
export declare const ScrollView: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, ScrollViewNative, import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps, import("@tamagui/web").StackStyleBase & {
|
|
4
4
|
readonly contentContainerStyle?: Partial<import("@tamagui/web").InferStyleProps<typeof ScrollViewNative, {
|
|
@@ -13,6 +13,6 @@ export declare const ScrollView: import("@tamagui/web").TamaguiComponent<import(
|
|
|
13
13
|
readonly contentContainerStyle: "style";
|
|
14
14
|
};
|
|
15
15
|
}>;
|
|
16
|
-
export type ScrollView =
|
|
16
|
+
export type ScrollView = GetRef<typeof ScrollView>;
|
|
17
17
|
export type ScrollViewProps = GetProps<typeof ScrollView>;
|
|
18
18
|
//# sourceMappingURL=ScrollView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../src/ScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../src/ScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAEpD,OAAO,EAAE,UAAU,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAE7D,eAAO,MAAM,UAAU;;;;;;;;;;;;EAiBtB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,UAAU,CAAC,CAAA;AAElD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA"}
|