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

@@ -201,10 +201,10 @@ const Documents: FC<IDocumentsProps> = ({ datasetId }) => {
<div className='flex flex-col px-6 py-4 flex-1'>
<div className='flex items-center justify-between flex-wrap'>
<Input
showPrefix
showLeftIcon
wrapperClassName='!w-[200px]'
className='!h-8 !text-[13px]'
onChange={debounce(setSearchValue, 500)}
onChange={debounce(e => setSearchValue(e.target.value), 500)}
value={searchValue}
/>
<div className='flex gap-2 justify-center items-center !h-8'>