Chats: isSearch --> theme='search'
This commit is contained in:
parent
09887130b7
commit
8c82d0400a
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ const ChatSearchInput: React.FC<IChatSearchInput> = ({ value, onChange, onClear
|
|||
className='rounded-full'
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
isSearch
|
||||
theme='search'
|
||||
append={
|
||||
<button onClick={onClear}>
|
||||
<Icon
|
||||
|
|
|
@ -110,7 +110,7 @@ const ChatSearch = () => {
|
|||
className='rounded-full'
|
||||
value={value || ''}
|
||||
onChange={(event) => setValue(event.target.value)}
|
||||
isSearch
|
||||
theme='search'
|
||||
append={
|
||||
<button onClick={clearValue}>
|
||||
<Icon
|
||||
|
|
Loading…
Reference in a new issue