From 495941f43a3f72abbbdc354f411b75dc68ca40b6 Mon Sep 17 00:00:00 2001 From: Ahmed Bouhuolia Date: Wed, 1 May 2024 19:09:53 +0200 Subject: [PATCH] feat: style the export dialog form --- .../Accounts/AccountsActionsBar.tsx | 14 ++-- .../CashFlowAccountsActionsBar.tsx | 10 +-- .../ExportDialogContent.module.scss | 18 +++++ .../Dialogs/ExportDialog/ExportDialogForm.tsx | 10 ++- .../ExportDialog/ExportDialogFormContent.tsx | 70 ++++++++++++++----- 5 files changed, 91 insertions(+), 31 deletions(-) create mode 100644 packages/webapp/src/containers/Dialogs/ExportDialog/ExportDialogContent.module.scss diff --git a/packages/webapp/src/containers/Accounts/AccountsActionsBar.tsx b/packages/webapp/src/containers/Accounts/AccountsActionsBar.tsx index 0af8e675a..eacaf4a17 100644 --- a/packages/webapp/src/containers/Accounts/AccountsActionsBar.tsx +++ b/packages/webapp/src/containers/Accounts/AccountsActionsBar.tsx @@ -121,7 +121,7 @@ function AccountsActionsBar({ // Handle the export button click. const handleExportBtnClick = () => { openDialog(DialogsName.Export, { resource: 'account' }); - } + }; return ( @@ -186,18 +186,18 @@ function AccountsActionsBar({ icon={} text={} /> - + + + + ); } + +export const ExportDialogFormContent = compose(withDialogActions)( + ExportDialogFormContentRoot, +);