diff --git a/src/components/HistoryCard.tsx b/src/components/HistoryCard.tsx index 2ad4607..07b8746 100644 --- a/src/components/HistoryCard.tsx +++ b/src/components/HistoryCard.tsx @@ -1,6 +1,12 @@ import { Heading, HStack, Text, VStack } from '@gluestack-ui/themed'; -export function HistoryCard() { +import { HistoryDTO } from '@dtos/HistoryDTO'; + +type HistoryCardProps = { + data: HistoryDTO; +}; + +export function HistoryCard({ data }: HistoryCardProps) { return ( - Costas + {data.group} - Puxada Frontal + {data.name} - 08:36 + {data.hour} );