* first attempt at stream sidebar, tasks, and events * fix folder from root * cleanup folders and events, and condense changes * cleanup and add toggle for sidebar * cleanup * fix nits
13 lines
415 B
TypeScript
13 lines
415 B
TypeScript
import { Particle } from '@/api/types';
|
|
import { type ParticlePath } from '@/lib/particle-path';
|
|
import { ContainerView } from '@/features/particles/container-view';
|
|
|
|
interface FolderViewProps {
|
|
folderParticle: Particle & { type: 'folder' };
|
|
path: ParticlePath;
|
|
}
|
|
|
|
export function FolderView({ path, folderParticle }: FolderViewProps) {
|
|
return <ContainerView path={path} folderParticle={folderParticle} />;
|
|
}
|