📁 Changed TDrive root folder (#16)

📁 Changed TDrive root folder
This commit is contained in:
Montassar Ghanmy
2023-04-11 10:04:29 +01:00
committed by GitHub
parent 3b3f67af07
commit e0615fa867
10548 changed files with 48 additions and 48 deletions
@@ -0,0 +1,29 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { SearchInputState } from 'app/features/search/state/search-input';
import PerfectScrollbar from 'react-perfect-scrollbar';
import { useRecoilValue } from 'recoil';
import SearchResulsDriveItems from './tabs/drive';
export const SearchResultsIndex = () => {
return (
<>
<PerfectScrollbar
className="-mb-4 py-3 overflow-hidden -mx-2 px-2"
style={{ maxHeight: 'calc(80vh - 100px)', minHeight: 'calc(80vh - 100px)' }}
options={{ suppressScrollX: true, suppressScrollY: false }}
component="div"
>
<SearchResulsDriveItems />
</PerfectScrollbar>
</>
);
};
const SearchCounterBadge = (props: { count: number }) => {
const count = props.count < 100 ? props.count : '99+';
return (
<div className="bg-zinc-200 ml-2 px-1.5 text-sm rounded-full text-zinc-500 dark:bg-zing-800 dark:text-zinc-600">
{count}
</div>
);
};