diff --git a/bun.lock b/bun.lock index 1a51f20..1766722 100644 --- a/bun.lock +++ b/bun.lock @@ -67,6 +67,9 @@ "@swc/core", "@parcel/watcher", ], + "patchedDependencies": { + "react-native-click-outside@0.1.1": "patches/react-native-click-outside@0.1.1.patch", + }, "packages": { "@ampproject/remapping": ["@ampproject/remapping@2.3.0", "", { "dependencies": { "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" } }, "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw=="], diff --git a/package.json b/package.json index 49de79c..75df87c 100644 --- a/package.json +++ b/package.json @@ -40,5 +40,8 @@ ], "dependencies": { "react-native-click-outside": "^0.1.1" + }, + "patchedDependencies": { + "react-native-click-outside@0.1.1": "patches/react-native-click-outside@0.1.1.patch" } } diff --git a/patches/react-native-click-outside@0.1.1.patch b/patches/react-native-click-outside@0.1.1.patch new file mode 100644 index 0000000..e580f37 --- /dev/null +++ b/patches/react-native-click-outside@0.1.1.patch @@ -0,0 +1,16 @@ +diff --git a/package.json b/package.json +index 68a186a5974f324201aab5fcaa8653000771e1f6..5508586335b885029abbf821da7067ae68a98889 100644 +--- a/package.json ++++ b/package.json +@@ -7,6 +7,11 @@ + "types": "lib/typescript/index.d.ts", + "react-native": "src/index", + "source": "src/index", ++ "exports": { ++ ".": { ++ "default": "./src/index.tsx" ++ } ++ }, + "files": [ + "src", + "lib",