From 54b01b7279d012f9d9ccb250c88d0b40da7b7da3 Mon Sep 17 00:00:00 2001 From: Henning Hall Date: Tue, 19 Apr 2022 22:59:02 +0200 Subject: [PATCH] remove usage of ViewPropTypes (#500) --- src/propTypes.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/propTypes.js b/src/propTypes.js index 2f462a1..43af23e 100644 --- a/src/propTypes.js +++ b/src/propTypes.js @@ -1,4 +1,4 @@ -import { Platform, ViewPropTypes } from 'react-native' +import { Platform } from 'react-native' import PropTypes from 'prop-types' const androidPropTypes = { @@ -35,7 +35,7 @@ export default { locale: PropTypes.string, textColor: PropTypes.string, timeZoneOffsetInMinutes: PropTypes.number, - testID: ViewPropTypes.testID, - style: ViewPropTypes.style, + testID: PropTypes.string, + style: PropTypes.any, ...modalPropTypes, }