From 4a0b6b9d4c039752b66426965c400afe21ce7604 Mon Sep 17 00:00:00 2001 From: Tuan Nguyen Anh Date: Fri, 28 Oct 2022 16:00:30 +0700 Subject: [PATCH] Update HTMLView.js ViewPropTypes has been removed completely in React Native `v0.70.4` --- HTMLView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HTMLView.js b/HTMLView.js index 43f8b7e..26d52e5 100644 --- a/HTMLView.js +++ b/HTMLView.js @@ -1,7 +1,8 @@ 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'; +import {ViewPropTypes} from 'deprecated-react-native-prop-types'; const boldStyle = {fontWeight: 'bold'}; const italicStyle = {fontStyle: 'italic'};