-
-
handleSearchChange(e.target.value)}
- className="w-full px-3 py-2 pr-10 text-sm border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"
- />
-
-
+
handleSearchChange(e.target.value)}
+ colorVariant="silver"
+ borderVariant="thin"
+ labelBgClassName="bg-white dark:bg-charleston-green-2"
+ leftIcon={

}
+ />
diff --git a/frontend/src/components/Input.tsx b/frontend/src/components/Input.tsx
index dbc517cb..b9f9d93a 100644
--- a/frontend/src/components/Input.tsx
+++ b/frontend/src/components/Input.tsx
@@ -16,6 +16,7 @@ const Input = ({
textSize = 'medium',
children,
labelBgClassName = 'bg-white dark:bg-raisin-black',
+ leftIcon,
onChange,
onPaste,
onKeyDown,
@@ -42,7 +43,7 @@ const Input = ({
{children}
+ {leftIcon && (
+
+ {leftIcon}
+
+ )}
{placeholder && (