mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 11:33:02 +00:00
refactor: use tab instead of modal. fixed layout as well.
This commit is contained in:
18
src/tabs/MainTab.tsx
Normal file
18
src/tabs/MainTab.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { Box, VStack } from '@chakra-ui/react';
|
||||
import { SelectFile } from '../components/SelectFile';
|
||||
|
||||
import { FileListing } from '~/features/file-listing/FileListing';
|
||||
|
||||
export function MainTab() {
|
||||
return (
|
||||
<Box h="full" w="full" pt="4">
|
||||
<VStack gap="3">
|
||||
<SelectFile />
|
||||
|
||||
<Box w="full">
|
||||
<FileListing />
|
||||
</Box>
|
||||
</VStack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
10
src/tabs/SettingsTab.tsx
Normal file
10
src/tabs/SettingsTab.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
export function SettingsTab() {
|
||||
return (
|
||||
<div>
|
||||
<p>Hallo</p>
|
||||
<p>Thank you, thank you very much.</p>
|
||||
<p>Ha-Halo, thank you</p>
|
||||
<p>Thank you very much!</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user