Merge branch 'INDA-330-pii-update' into 'main'
[ProtonMail-WebClient.git] / applications / drive / src / app / components / drawer / DriveQuickSettings.tsx
blob5dc5ef2c1fe369e0f01cf45a2ccc16c0e22a290b
1 import {
2     DefaultQuickSettings,
3     DrawerAllSettingsView,
4     DrawerAppScrollContainer,
5     QuickSettingsButtonSection,
6     useConfirmActionModal,
7 } from '@proton/components';
9 import ClearSearchDataButton from '../layout/search/ClearSearchDataButton';
11 const DriveQuickSettings = () => {
12     const [confirmModal, showConfirmModal] = useConfirmActionModal();
14     return (
15         <DrawerAppScrollContainer>
16             <DrawerAllSettingsView />
18             <DefaultQuickSettings />
20             <QuickSettingsButtonSection>
21                 <ClearSearchDataButton showConfirmModal={showConfirmModal} />
22             </QuickSettingsButtonSection>
24             {confirmModal}
25         </DrawerAppScrollContainer>
26     );
29 export default DriveQuickSettings;