diff --git a/src/components/PDFView/index.native.js b/src/components/PDFView/index.native.js index 962bf4e52245..89e74ee5ca49 100644 --- a/src/components/PDFView/index.native.js +++ b/src/components/PDFView/index.native.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import {View} from 'react-native'; +import {TouchableWithoutFeedback} from 'react-native'; import PDF from 'react-native-pdf'; import styles, {getWidthAndHeightStyle} from '../../styles/styles'; import withWindowDimensions, {windowDimensionsPropTypes} from '../withWindowDimensions'; @@ -30,7 +30,7 @@ const defaultProps = { */ const PDFView = props => ( - + } source={{uri: props.sourceURL}} @@ -39,7 +39,7 @@ const PDFView = props => ( getWidthAndHeightStyle(props.windowWidth, props.windowHeight), ]} /> - + ); PDFView.propTypes = propTypes;