From adc13259736245cb4334e19c5e49bf619656c9fa Mon Sep 17 00:00:00 2001 From: madhus1025 Date: Tue, 16 May 2023 17:53:18 +0530 Subject: [PATCH 1/2] Update check-box.js --- .../reactnative/src/components/inputs/choice-set/check-box.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/community/reactnative/src/components/inputs/choice-set/check-box.js b/source/community/reactnative/src/components/inputs/choice-set/check-box.js index 4cbff12a70..2e11a7ec2d 100644 --- a/source/community/reactnative/src/components/inputs/choice-set/check-box.js +++ b/source/community/reactnative/src/components/inputs/choice-set/check-box.js @@ -3,12 +3,12 @@ */ import React from 'react'; +import { ViewPropTypes } from 'deprecated-react-native-prop-types' import { View, Text, TouchableOpacity, - StyleSheet, - ViewPropTypes, + StyleSheet } from 'react-native'; import { Label } from '../../elements' import PropTypes from 'prop-types'; From 3e5d5d6d9d9f2dab14e60c3ede9a6fb915fc89e6 Mon Sep 17 00:00:00 2001 From: madhus1025 Date: Tue, 23 May 2023 18:09:48 +0530 Subject: [PATCH 2/2] Added deprecated prop types as a dependency --- source/community/reactnative/package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/community/reactnative/package.json b/source/community/reactnative/package.json index 0d549c5b26..69446dcf5f 100644 --- a/source/community/reactnative/package.json +++ b/source/community/reactnative/package.json @@ -56,7 +56,8 @@ "antlr4ts": "^0.5.0-alpha.3", "assert": "^2.0.0", "react-native-keyboard-aware-scroll-view": "^0.9.5", - "react-native-video": "^5.2.0" + "react-native-video": "^5.2.0", + "deprecated-react-native-prop-types":"^2.3.0" }, "jest": { "preset": "react-native", @@ -64,4 +65,4 @@ "node_modules/(?!(jest-)?react-native|@react-native-community|@react-native-picker)" ] } -} \ No newline at end of file +}