Skip to content

Commit 0561028

Browse files
displaying icon and option in one line
1 parent fc10391 commit 0561028

File tree

1 file changed

+2
-1
lines changed
  • dqops/src/main/frontend/src/components/Select

1 file changed

+2
-1
lines changed

dqops/src/main/frontend/src/components/Select/index.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ const Select = ({
138138
<div
139139
data-testid="select-option"
140140
key={index}
141-
className={clsx("py-2 px-4 hover:bg-gray-300 cursor-pointer whitespace-nowrap text-gray-700 text-sm h-8" , empty ? 'h-5' : ''
141+
className={clsx("py-2 px-4 hover:bg-gray-300 cursor-pointer whitespace-nowrap text-gray-700 text-sm h-8" , empty ? 'h-5' : '',
142+
option.icon ? 'flex items-center gap-x-2' : ''
142143
)}
143144
onClick={() => handleClick(option)}
144145
>

0 commit comments

Comments
 (0)