diff --git a/node_modules/react-native-htmlview/HTMLView.js b/node_modules/react-native-htmlview/HTMLView.js index 43f8b7e..728112b 100644 --- a/node_modules/react-native-htmlview/HTMLView.js +++ b/node_modules/react-native-htmlview/HTMLView.js @@ -1,7 +1,7 @@ import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import htmlToElement from './htmlToElement'; -import {Linking, Platform, StyleSheet, View, ViewPropTypes} from 'react-native'; +import {Linking, Platform, StyleSheet, View} from 'react-native'; const boldStyle = {fontWeight: 'bold'}; const italicStyle = {fontStyle: 'italic'}; @@ -146,7 +146,7 @@ HtmlView.propTypes = { renderNode: PropTypes.func, RootComponent: PropTypes.func, rootComponentProps: PropTypes.object, - style: ViewPropTypes.style, + style: PropTypes.any, stylesheet: PropTypes.object, TextComponent: PropTypes.func, textComponentProps: PropTypes.object,