@tamagui/use-window-dimensions
Advanced tools
Comparing version 1.122.1 to 1.122.2
{ | ||
"name": "@tamagui/use-window-dimensions", | ||
"version": "1.122.1", | ||
"version": "1.122.2", | ||
"types": "./types/index.d.ts", | ||
@@ -34,6 +34,6 @@ "main": "dist/cjs", | ||
"dependencies": { | ||
"@tamagui/constants": "1.122.1" | ||
"@tamagui/constants": "1.122.2" | ||
}, | ||
"devDependencies": { | ||
"@tamagui/build": "1.122.1", | ||
"@tamagui/build": "1.122.2", | ||
"react": "*", | ||
@@ -40,0 +40,0 @@ "react-native": "^0.76.5" |
/** | ||
* SSR safe useWindowDimensions | ||
*/ | ||
* SSR safe useWindowDimensions | ||
*/ | ||
type Size = { | ||
width: number; | ||
height: number; | ||
width: number; | ||
height: number; | ||
}; | ||
export declare function configureInitialWindowDimensions(next: Size): void; | ||
export declare function useWindowDimensions({ serverValue, }?: { | ||
serverValue?: Size; | ||
}): Size; | ||
export declare function configureInitialWindowDimensions(next: Size); | ||
export declare function useWindowDimensions({ serverValue }?: { serverValue?: Size }); | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
Sorry, the diff of this file is not supported yet
19072
307
+ Added@tamagui/constants@1.122.2(transitive)
- Removed@tamagui/constants@1.122.1(transitive)
Updated@tamagui/constants@1.122.2