diff --git a/README.md b/README.md index 8a152a1..782a83b 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,15 @@ portfolio-manager/ └── README.md ``` -## Sample Curl Commands +## UI + +### Blotter Table + +User can add, delete and update trades via the blotter component in the user interface. + +![Blotter Table](docs/Blotter.png) + +## Backend API - Sample Curl Commands All API calls are documented (OAS) under `http://localhost:8080/swagger/index.html` diff --git a/docs/Blotter.png b/docs/Blotter.png new file mode 100644 index 0000000..1ac3800 Binary files /dev/null and b/docs/Blotter.png differ diff --git a/web/ui/src/components/Blotter/BlotterTable.tsx b/web/ui/src/components/Blotter/BlotterTable.tsx index 32eb35b..dbff421 100644 --- a/web/ui/src/components/Blotter/BlotterTable.tsx +++ b/web/ui/src/components/Blotter/BlotterTable.tsx @@ -4,6 +4,7 @@ import { Box, Button } from "@mantine/core"; import { MantineReactTable, MRT_ColumnDef, + MRT_TableInstance, useMantineReactTable, } from "mantine-react-table"; import { useQuery } from "@tanstack/react-query"; @@ -67,7 +68,7 @@ const BlotterTable: React.FC = () => {