From 1c2cc8ab47aeea7167e69fd19d6490ee89a7f6b5 Mon Sep 17 00:00:00 2001 From: katty barroso Date: Thu, 26 Sep 2024 10:42:01 +0200 Subject: [PATCH] Redesign filters on report --- .../src/components/Report/ReportFilter.tsx | 34 +++++++++++++++++-- fabric/src/icon-svg/IconBalanceSheet.svg | 2 +- fabric/src/icon-svg/IconCashflow.svg | 2 +- fabric/src/icon-svg/IconProfitAndLoss.svg | 2 +- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/centrifuge-app/src/components/Report/ReportFilter.tsx b/centrifuge-app/src/components/Report/ReportFilter.tsx index 72193d630..e69cd1a08 100644 --- a/centrifuge-app/src/components/Report/ReportFilter.tsx +++ b/centrifuge-app/src/components/Report/ReportFilter.tsx @@ -1,6 +1,18 @@ import { Loan, Pool } from '@centrifuge/centrifuge-js' import { useGetNetworkName } from '@centrifuge/centrifuge-react' -import { AnchorButton, Box, DateInput, SearchInput, Select, Shelf } from '@centrifuge/fabric' +import { + AnchorButton, + Box, + Button, + DateInput, + IconBalanceSheet, + IconCashflow, + IconDownload, + IconProfitAndLoss, + SearchInput, + Select, + Shelf, +} from '@centrifuge/fabric' import * as React from 'react' import { useNavigate } from 'react-router' import { nftMetadataSchema } from '../../schemas' @@ -336,9 +348,25 @@ export function ReportFilter({ pool }: ReportFilterProps) { /> )} + + + - - Export CSV + } + small + variant="inverted" + > + CSV diff --git a/fabric/src/icon-svg/IconBalanceSheet.svg b/fabric/src/icon-svg/IconBalanceSheet.svg index 89a2407fc..a6d8553c0 100644 --- a/fabric/src/icon-svg/IconBalanceSheet.svg +++ b/fabric/src/icon-svg/IconBalanceSheet.svg @@ -1,3 +1,3 @@ - + diff --git a/fabric/src/icon-svg/IconCashflow.svg b/fabric/src/icon-svg/IconCashflow.svg index 798a162bc..4a8ff3024 100644 --- a/fabric/src/icon-svg/IconCashflow.svg +++ b/fabric/src/icon-svg/IconCashflow.svg @@ -1,3 +1,3 @@ - + diff --git a/fabric/src/icon-svg/IconProfitAndLoss.svg b/fabric/src/icon-svg/IconProfitAndLoss.svg index 5223d3810..601971402 100644 --- a/fabric/src/icon-svg/IconProfitAndLoss.svg +++ b/fabric/src/icon-svg/IconProfitAndLoss.svg @@ -1,3 +1,3 @@ - +