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 +} 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';