From 276df7a89464b85772dafb53180e344fdca2bbab Mon Sep 17 00:00:00 2001 From: prajwalism Date: Wed, 26 Jun 2024 17:41:32 +0545 Subject: [PATCH] refactor: change `select` component according to design --- .../components/common/FormUI/Select/index.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/frontend/src/components/common/FormUI/Select/index.tsx b/src/frontend/src/components/common/FormUI/Select/index.tsx index f22f5a83..fe377c4e 100644 --- a/src/frontend/src/components/common/FormUI/Select/index.tsx +++ b/src/frontend/src/components/common/FormUI/Select/index.tsx @@ -109,9 +109,9 @@ export default function Select({
@@ -121,7 +121,7 @@ export default function Select({ placeholder={getPlaceholderText()} className={`naxatw-w-full naxatw-border-none ${inputTagClassname} ${ selected ? 'placeholder:naxatw-text-grey-800' : '' - } focus:placeholder:naxatw-text-grey-400 `} + } focus:placeholder:naxatw-text-grey-400`} value={searchText} onClick={e => { setIsOpen(true); @@ -143,8 +143,8 @@ export default function Select({ {showClearIcon ? ( setSearchText('')} /> ) : ( @@ -153,7 +153,7 @@ export default function Select({ // eslint-disable-next-line no-nested-ternary !isOpen ? 'expand_more' : withSearch ? 'search' : 'expand_less' } - className="naxatw-absolute naxatw-right-1 naxatw-items-center group-hover:naxatw-text-primary-400" + className="group-hover:naxatw-text-primary-400 naxatw-absolute naxatw-right-1 naxatw-items-center" /> )}
@@ -167,8 +167,8 @@ export default function Select({ {options && filterOptions.length > 0 ? ( filterOptions.map(option => (
  • handleOptionClick(option[valueKey])} >