import React, { Component } from 'react' import { TouchableOpacity } from 'react-native' import PropTypes from 'prop-types' import Icon from 'react-native-vector-icons/Entypo' import InfoPopUp from './info-symptom' import styles, { iconStyles } from '../../../styles' export default class SymptomInfo extends Component { static propTypes = { symptom: PropTypes.string } constructor() { super() this.state = { showInfo: false } } showInfo = () => this.setState({ showInfo: true }) hideInfo = () => this.setState({ showInfo: false }) render() { return ( { this.state.showInfo && } ) } }