import React from 'react'; import PropTypes from 'prop-types'; import { WebView } from 'react-native'; import { connect } from 'react-redux'; class PrivacyPolicyView extends React.PureComponent { static propTypes = { privacyPolicy: PropTypes.string } render() { return ( ); } } function mapStateToProps(state) { return { privacyPolicy: state.settings.Layout_Privacy_Policy }; } export default connect(mapStateToProps)(PrivacyPolicyView);