diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index d79aecd..eafa9aa 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -19,6 +19,9 @@ export function SearchBar({ value, placeholder, onChangeValue, isFetching }: Pro onChangeValue(value); }; + const iconStyle = + 'flex h-10 w-10 items-center justify-center rounded-full bg-pink-600 sm:h-12 sm:w-12'; + return (
-
- {isFetching && } - {!isFetching && !value && } - {!isFetching && value && ( - onChange(null)}> + + {isFetching && ( +
+ +
+ )} + {!isFetching && !value && ( +
+ +
+ )} + {!isFetching && value && ( +
+ onChange(null)} + > - )} -
+
+ )}
); }