@tamagui/proxy-worm 2.7.7 → 3.0.0-beta.643.1

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.
@@ -0,0 +1,19 @@
1
+ import { View } from 'react-native'
2
+
3
+ const EmptyReactNativeView = new Proxy(
4
+ {
5
+ get default() {
6
+ return View
7
+ },
8
+ },
9
+ {
10
+ get(_, key) {
11
+ if (key === 'createAnimatedComponent') {
12
+ return (component) => component
13
+ }
14
+ return View
15
+ },
16
+ }
17
+ )
18
+
19
+ export default EmptyReactNativeView
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/proxy-worm",
3
- "version": "2.7.7",
3
+ "version": "3.0.0-beta.643.1",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "sideEffects": false,
6
6
  "main": "index.js",
@@ -13,6 +13,14 @@
13
13
  },
14
14
  ".": "./index.js"
15
15
  },
16
+ "peerDependencies": {
17
+ "react-native": "*"
18
+ },
19
+ "peerDependenciesMeta": {
20
+ "react-native": {
21
+ "optional": true
22
+ }
23
+ },
16
24
  "publishConfig": {
17
25
  "access": "public"
18
26
  },