-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d320be
commit 99498ae
Showing
5 changed files
with
42 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 26 additions & 2 deletions
28
src/components/NavigationBars/DriveActionBar/DriveActionHeaderMobile.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,31 @@ | ||
import DirectoryPath from '@components/DirectoryPath/DirectoryPath'; | ||
import PodDropdown from '@components/Dropdowns/PodDropdown/PodDropdown'; | ||
|
||
const DriveActionHeaderMobile = () => { | ||
return <PodDropdown />; | ||
interface DriveActionHeaderMobileProps { | ||
podName: string; | ||
directory: string; | ||
onDirectorySelect: (newDirectory: string) => void; | ||
onBackToDrive: () => void; | ||
} | ||
|
||
const DriveActionHeaderMobile = ({ | ||
podName, | ||
directory, | ||
onDirectorySelect, | ||
onBackToDrive, | ||
}: DriveActionHeaderMobileProps) => { | ||
return ( | ||
<> | ||
<PodDropdown /> | ||
<DirectoryPath | ||
className="flex sm:hidden" | ||
podName={podName} | ||
directory={directory} | ||
onDirectorySelect={onDirectorySelect} | ||
onBackToDrive={onBackToDrive} | ||
/> | ||
</> | ||
); | ||
}; | ||
|
||
export default DriveActionHeaderMobile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters