chore(react/collections/table): get table to render

This commit is contained in:
Elian Doran
2025-09-06 18:48:58 +03:00
parent 1cffff77bf
commit f076581bed
12 changed files with 291 additions and 172 deletions

View File

@@ -7,6 +7,7 @@ import { useEffect, useMemo, useRef, useState } from "preact/hooks";
import GeoView from "./geomap";
import ViewModeStorage from "../view_widgets/view_mode_storage";
import CalendarView from "./calendar";
import TableView from "./table";
interface NoteListProps<T extends object> {
note?: FNote | null;
@@ -85,6 +86,8 @@ function getComponentByViewType(viewType: ViewTypeOptions, props: ViewModeProps<
return <GeoView {...props} />;
case "calendar":
return <CalendarView {...props} />
case "table":
return <TableView {...props} />
}
}