Sync Input component from feat/attachments branch (#7782)

This commit is contained in:
NFish
2024-08-29 11:23:16 +08:00
committed by GitHub
parent 62f4801523
commit ad30668eb6
6 changed files with 78 additions and 38 deletions

View File

@@ -391,7 +391,7 @@ const Completed: FC<ICompletedProps> = ({
defaultValue={'all'}
className={s.select}
wrapperClassName='h-fit w-[120px] mr-2' />
<Input showPrefix wrapperClassName='!w-52' className='!h-8' onChange={debounce(setSearchValue, 500)} />
<Input showLeftIcon wrapperClassName='!w-52' className='!h-8' onChange={debounce(e => setSearchValue(e.target.value), 500)} />
</div>
<InfiniteVirtualList
embeddingAvailable={embeddingAvailable}