From c1d92b74f052b29c8735d00eb170acd57be200f3 Mon Sep 17 00:00:00 2001 From: "a.bouhuolia" Date: Sun, 30 Apr 2023 21:13:33 +0200 Subject: [PATCH] chore(Select):style the Select button. --- .../src/components/Forms/BlueprintFormik.tsx | 17 +----- .../webapp/src/components/Forms/Select.tsx | 58 +++++++++++++++++++ .../AccountDialogFormContent.tsx | 14 +++-- packages/webapp/src/lang/en/index.json | 2 +- 4 files changed, 70 insertions(+), 21 deletions(-) create mode 100644 packages/webapp/src/components/Forms/Select.tsx diff --git a/packages/webapp/src/components/Forms/BlueprintFormik.tsx b/packages/webapp/src/components/Forms/BlueprintFormik.tsx index 910d909f1..09b14967d 100644 --- a/packages/webapp/src/components/Forms/BlueprintFormik.tsx +++ b/packages/webapp/src/components/Forms/BlueprintFormik.tsx @@ -10,22 +10,9 @@ import { EditableText, TextArea, } from '@blueprintjs-formik/core'; -import { Button } from '@blueprintjs/core'; -import { Select, MultiSelect } from '@blueprintjs-formik/select'; +import { MultiSelect } from '@blueprintjs-formik/select'; import { DateInput } from '@blueprintjs-formik/datetime'; - -function FSelect({ ...props }) { - const input = ({ activeItem, text, label, value }) => { - return ( -