diff --git a/pos-frontend/app/inventory/page.tsx b/pos-frontend/app/inventory/page.tsx index 255657e..2665992 100644 --- a/pos-frontend/app/inventory/page.tsx +++ b/pos-frontend/app/inventory/page.tsx @@ -1,49 +1,81 @@ -import { Container } from '@mantine/core' -import { Flex, Button } from '@mantine/core' -import React from "react" +import React, { useState } from 'react' +import { Container, Paper, Col, Table, Button, TextInput, useMantineTheme } from '@mantine/core' -const NavLink = (props: any) => -
{props.children}
+interface InventoryItem { + id: number + name: string + price: number + quantity: number +} export default function InventoryPage() { - const demoProps = { - bg: 'var(--mantine-color-blue-light)', - h: 50, - mt: 'md', + const theme = useMantineTheme() + const [items, setItems] = useState| ID | +Name | +Price | +Quantity | +
|---|---|---|---|
| {item.id} | +{item.name} | +{item.price} | +{item.quantity} | +