feat(collection/presentation): add empty view for presentation

This commit is contained in:
Elian Doran 2025-10-15 18:49:29 +03:00
parent e0e791d9b4
commit 025f22553f
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View File

@ -12,6 +12,7 @@ import BoardView from "./board";
import { subscribeToMessages, unsubscribeToMessage as unsubscribeFromMessage } from "../../services/ws";
import { WebSocketMessage } from "@triliumnext/commons";
import froca from "../../services/froca";
import PresentationView from "./presentation";
interface NoteListProps {
note: FNote | null | undefined;
@ -104,6 +105,8 @@ function getComponentByViewType(viewType: ViewTypeOptions, props: ViewModeProps<
return <TableView {...props} />
case "board":
return <BoardView {...props} />
case "presentation":
return <PresentationView {...props} />
}
}

View File

@ -0,0 +1,5 @@
import { ViewModeProps } from "../interface";
export default function PresentationView({ }: ViewModeProps<{}>) {
return <p>Presentation goes here.</p>;
}