diff --git a/HTMLView.js b/HTMLView.js
index 43f8b7e..8bb5d76 100644
--- a/HTMLView.js
+++ b/HTMLView.js
@@ -1,7 +1,6 @@
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'};
@@ -133,26 +132,6 @@ class HtmlView extends PureComponent {
}
}
-HtmlView.propTypes = {
- addLineBreaks: PropTypes.bool,
- bullet: PropTypes.string,
- lineBreak: PropTypes.string,
- NodeComponent: PropTypes.func,
- nodeComponentProps: PropTypes.object,
- onError: PropTypes.func,
- onLinkPress: PropTypes.func,
- onLinkLongPress: PropTypes.func,
- paragraphBreak: PropTypes.string,
- renderNode: PropTypes.func,
- RootComponent: PropTypes.func,
- rootComponentProps: PropTypes.object,
- style: ViewPropTypes.style,
- stylesheet: PropTypes.object,
- TextComponent: PropTypes.func,
- textComponentProps: PropTypes.object,
- value: PropTypes.string,
-};
-
HtmlView.defaultProps = {
addLineBreaks: true,
onLinkPress: url => Linking.openURL(url),