diff --git a/packages/elements/package.json b/packages/elements/package.json index bfca1b39a0..64a3f40b8d 100644 --- a/packages/elements/package.json +++ b/packages/elements/package.json @@ -57,11 +57,17 @@ "typescript": "^5.5.2" }, "peerDependencies": { + "@react-native-masked-view/masked-view": ">= 0.2.0", "@react-navigation/native": "workspace:^", "react": ">= 18.2.0", "react-native": ">= 0.72.0", "react-native-safe-area-context": ">= 4.0.0" }, + "peerDependenciesMeta": { + "@react-native-masked-view/masked-view": { + "optional": true + } + }, "react-native-builder-bob": { "source": "src", "output": "lib", diff --git a/yarn.lock b/yarn.lock index ed838a1202..af42703875 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3830,10 +3830,14 @@ __metadata: react-native-builder-bob: "npm:^0.26.0" typescript: "npm:^5.5.2" peerDependencies: + "@react-native-masked-view/masked-view": ">= 0.2.0" "@react-navigation/native": "workspace:^" react: ">= 18.2.0" react-native: ">= 0.72.0" react-native-safe-area-context: ">= 4.0.0" + peerDependenciesMeta: + "@react-native-masked-view/masked-view": + optional: true languageName: unknown linkType: soft