Skip to content

Commit

Permalink
πŸ› input search - onclear
Browse files Browse the repository at this point in the history
  • Loading branch information
ash0814 committed Oct 16, 2023
1 parent f257330 commit 0b402e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/input/input-search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function InputSearch({ value, setValue, isInvalid = false, isBackBtn = fa
startContent={isBackBtn && <DynamicBackIcon onClick={onClickGoBack} className='text-gray-500' />}
endContent={
<div className='flex-column flex'>
{value !== '' && isFocus && <DynamicDeleteIcon className='text-gray-500' onClick={onClear}></DynamicDeleteIcon>}
{value !== '' && <DynamicDeleteIcon className='text-gray-500' onClick={onClear}></DynamicDeleteIcon>}
<DynamicSearchIcon className='text-green ml-[16px]' onClick={onSearch}></DynamicSearchIcon>
</div>
}
Expand Down

0 comments on commit 0b402e3

Please sign in to comment.