import React from 'react' import { Image, Text, TouchableOpacity, View } from 'react-native' import R from '../../../../res' import s from './TicketListItemStyles' import { ITicketListItemProps } from './TicketListItemTypes' export interface IOnPressTicketDownload { pdfLink?: string hash: string } const TicketListItem = ({ styles, texts, data, moreButtonIcon, onPressActionsButton, }: ITicketListItemProps) => { const handleOnPressActionsButton = () => { onPressActionsButton(data) } return ( {texts.ticketId} {data.hash} {texts.ticketType} {data.ticketType} {texts.holderName} {data.holderName} {texts.status} {data.status} ) } export default TicketListItem