From 1c1ec0c1e6914799e8fd9e386b8398522f4722d3 Mon Sep 17 00:00:00 2001 From: "Ibrahima G. Coulibaly" Date: Sun, 23 Jun 2024 15:14:14 +0100 Subject: [PATCH] refactor: tool options components --- .idea/workspace.xml | 25 +++++-- src/components/input/ToolTextInput.tsx | 2 +- src/components/options/CheckboxWithDesc.tsx | 34 +++++++++ src/components/options/RadioWithTextField.tsx | 46 ++++++++++++ src/components/options/TextFieldWithDesc.tsx | 31 ++++++++ src/components/{ => options}/ToolOptions.tsx | 0 src/pages/string/join/index.tsx | 67 ++--------------- src/pages/string/split/index.tsx | 72 ++----------------- 8 files changed, 142 insertions(+), 135 deletions(-) create mode 100644 src/components/options/CheckboxWithDesc.tsx create mode 100644 src/components/options/RadioWithTextField.tsx create mode 100644 src/components/options/TextFieldWithDesc.tsx rename src/components/{ => options}/ToolOptions.tsx (100%) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cf6cb57..2a4766a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,10 +4,15 @@