extracted all File components to apps/FileBrowser

This commit is contained in:
2026-02-21 18:18:39 +00:00
parent fe7874dd65
commit e275c0fea6
23 changed files with 80 additions and 237 deletions
@@ -0,0 +1,15 @@
import type { LayoutNode } from '@/components/Workspace';
import { WorkspaceView } from '@/components/Workspace';
import { useWorkspacesState } from '@/state/useWorkspacesState';
import { appRegistry } from '../Workspaces/app-registry';
import { defaultLayout } from './defaultLayout';
export const FilesScreen = () => {
const workspace = useWorkspacesState<LayoutNode>('screens/files', defaultLayout);
return (
<div className="h-full w-full">
<WorkspaceView workspace={workspace} registry={appRegistry} />
</div>
);
};