Skip to content

Commit

Permalink
Fix DropsdownTrigger disabled bg-color 미적용
Browse files Browse the repository at this point in the history
  • Loading branch information
cause38 committed Sep 3, 2024
1 parent 22e3af7 commit 144c947
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/components/Dropdown/DropdownBase/DropdownTrigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ const DropdownTrigger = forwardRef(
type='button'
onClick={onClickHandler}
className={clsx(
'cursor-pointer whitespace-nowrap bg-white',
isDisabled && '!cursor-not-allowed bg-gray-09',
'whitespace-nowrap',
isDisabled
? 'cursor-not-allowed bg-gray-09'
: 'cursor-pointer bg-white',
className,
)}
aria-haspopup='listbox'
Expand Down

0 comments on commit 144c947

Please sign in to comment.