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

import styles from './index.style'

type Props = {
    drg_drug_cd: string, drg_drug_name: string, lot: string, quantity: number, exp_date:string
}
const ItemProduct = (props: Props) => {

    return (

        <View>
            <Text>
                {`${props.drg_drug_cd} - ${props.drg_drug_name}`}
            </Text>
            <Text>
                {`Lô: ${props.lot} - Số lượng: ${props.quantity} - HSD: ${props.exp_date}`}
            </Text>
        </View>
    );
};


export default ItemProduct;
