mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
feat(collection/presentation): add empty view for presentation
This commit is contained in:
parent
e0e791d9b4
commit
025f22553f
@ -12,6 +12,7 @@ import BoardView from "./board";
|
|||||||
import { subscribeToMessages, unsubscribeToMessage as unsubscribeFromMessage } from "../../services/ws";
|
import { subscribeToMessages, unsubscribeToMessage as unsubscribeFromMessage } from "../../services/ws";
|
||||||
import { WebSocketMessage } from "@triliumnext/commons";
|
import { WebSocketMessage } from "@triliumnext/commons";
|
||||||
import froca from "../../services/froca";
|
import froca from "../../services/froca";
|
||||||
|
import PresentationView from "./presentation";
|
||||||
|
|
||||||
interface NoteListProps {
|
interface NoteListProps {
|
||||||
note: FNote | null | undefined;
|
note: FNote | null | undefined;
|
||||||
@ -104,6 +105,8 @@ function getComponentByViewType(viewType: ViewTypeOptions, props: ViewModeProps<
|
|||||||
return <TableView {...props} />
|
return <TableView {...props} />
|
||||||
case "board":
|
case "board":
|
||||||
return <BoardView {...props} />
|
return <BoardView {...props} />
|
||||||
|
case "presentation":
|
||||||
|
return <PresentationView {...props} />
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
import { ViewModeProps } from "../interface";
|
||||||
|
|
||||||
|
export default function PresentationView({ }: ViewModeProps<{}>) {
|
||||||
|
return <p>Presentation goes here.</p>;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user