Skip to content

Commit 9e3dfec

Browse files
committed
Use ViewPropTypes again
Also updates test deps to [email protected] and align jest snapshots
1 parent f8b16b9 commit 9e3dfec

File tree

5 files changed

+623
-223
lines changed

5 files changed

+623
-223
lines changed

HTMLView.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {PureComponent} from 'react';
22
import PropTypes from 'prop-types';
33
import htmlToElement from './htmlToElement';
4-
import {Linking, Platform, StyleSheet, View} from 'react-native';
4+
import {Linking, Platform, StyleSheet, View, ViewPropTypes} from 'react-native';
55

66
const boldStyle = {fontWeight: '500'};
77
const italicStyle = {fontStyle: 'italic'};
@@ -135,7 +135,7 @@ HtmlView.propTypes = {
135135
renderNode: PropTypes.func,
136136
RootComponent: PropTypes.func,
137137
rootComponentProps: PropTypes.object,
138-
style: View.propTypes.style,
138+
style: ViewPropTypes.style,
139139
stylesheet: PropTypes.object,
140140
TextComponent: PropTypes.func,
141141
textComponentProps: PropTypes.object,

0 commit comments

Comments
 (0)