import React from 'react';
import {View,Text} from 'react-native';

const ListItemBmi = ({item}) => (
    <View key="{item.id}" style={styles.resultRow}>
        <Text style={styles.resultDate}>{item.when}</Text>
        <Text style={styles.resultValue}>W:88 H:175 BMI:{bmiFormula(88,175)}</Text>
        <Text style={styles.resultStatus}>{bmiDiagnose(bmiFormula(88,175),"Male")}</Text>
    </View>
);

export default ListItemBmi;
