Files
workavia-drive/tdrive/frontend/src/app/components/search-popup/search-tabs.tsx
T
Aymeric e6b2d53dd6 Go to a folder when searched (#68) (#152)
 Go to a folder when searched (#68)
2023-07-26 10:34:01 +02:00

19 lines
567 B
TypeScript
Executable File

/* eslint-disable @typescript-eslint/no-explicit-any */
import PerfectScrollbar from 'react-perfect-scrollbar';
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>
</>
);
};