@tamagui/constants
Advanced tools
Comparing version 1.125.6 to 1.125.7
import { useLayoutEffect } from "react"; | ||
import { Platform } from "react-native"; | ||
var isWeb = !1, isWindowDefined = !1, isServer = !1, isClient = !1, useIsomorphicLayoutEffect = useLayoutEffect, isChrome = !1, isWebTouchable = !1, isTouchable = !0, isAndroid = Platform.OS === "android" || process.env.TEST_NATIVE_PLATFORM === "android", isIos = Platform.OS === "ios" || process.env.TEST_NATIVE_PLATFORM === "ios", platforms = { | ||
ios: "ios", | ||
android: "android" | ||
}, currentPlatform = platforms[Platform.OS] || "native"; | ||
export { | ||
currentPlatform, | ||
isAndroid, | ||
isChrome, | ||
isClient, | ||
isIos, | ||
isServer, | ||
isTouchable, | ||
isWeb, | ||
isWebTouchable, | ||
isWindowDefined, | ||
useIsomorphicLayoutEffect | ||
}; | ||
var isWeb = !1, | ||
isWindowDefined = !1, | ||
isServer = !1, | ||
isClient = !1, | ||
useIsomorphicLayoutEffect = useLayoutEffect, | ||
isChrome = !1, | ||
isWebTouchable = !1, | ||
isTouchable = !0, | ||
isAndroid = Platform.OS === "android" || process.env.TEST_NATIVE_PLATFORM === "android", | ||
isIos = Platform.OS === "ios" || process.env.TEST_NATIVE_PLATFORM === "ios", | ||
platforms = { | ||
ios: "ios", | ||
android: "android" | ||
}, | ||
currentPlatform = platforms[Platform.OS] || "native"; | ||
export { currentPlatform, isAndroid, isChrome, isClient, isIos, isServer, isTouchable, isWeb, isWebTouchable, isWindowDefined, useIsomorphicLayoutEffect }; | ||
//# sourceMappingURL=constants.native.js.map |
@@ -1,2 +0,2 @@ | ||
export * from "./constants"; | ||
//# sourceMappingURL=index.js.map | ||
export * from "./constants.native.js"; | ||
//# sourceMappingURL=index.native.js.map |
{ | ||
"name": "@tamagui/constants", | ||
"version": "1.125.6", | ||
"version": "1.125.7", | ||
"types": "./types/index.d.ts", | ||
@@ -21,3 +21,3 @@ "main": "dist/cjs", | ||
"devDependencies": { | ||
"@tamagui/build": "1.125.6", | ||
"@tamagui/build": "1.125.7", | ||
"react": "*" | ||
@@ -24,0 +24,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23885
297