diff --git a/src/Components/DashboardPage/RecentTransactionsWidget/RecentTransactionsWidget.tsx b/src/Components/DashboardPage/RecentTransactionsWidget/RecentTransactionsWidget.tsx new file mode 100644 index 0000000..1465f57 --- /dev/null +++ b/src/Components/DashboardPage/RecentTransactionsWidget/RecentTransactionsWidget.tsx @@ -0,0 +1,42 @@ +import * as React from "react"; +import { ProductLog, ProductLogList } from "../../../Interfaces/Interfaces"; +import styles from "../../../styles"; +import LogsIcon from "../../Icons/LogsIcon/LogsIcon"; +import Moment from "react-moment"; + +export default function RecentTransactionsWidget(props: ProductLogList) { + return ( +
Recent
++ Transactions +
++ {log.name} +
++ Quantity: {log.quantity} +
++ {log.history_date} +
++ Transaction ID: {log.history_id} +
+Recent
-- Transactions -
-- {log.name} -
-- Quantity: {log.quantity} -
-- Date: {log.history_date} -
-- Transaction ID: {log.history_id} -
-