add: more things

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-07-04 05:55:27 +08:00
parent b54f6cdde0
commit 57fa25b73a
6 changed files with 172 additions and 33 deletions
@@ -1,6 +1,6 @@
import { Eye, Pencil, Archive, SquarePlus, SquareChartGantt } from "lucide-react";
import { Eye, Archive, SquarePlus, SquareChartGantt } from "lucide-react";
export function buildRowActions({ onCreatePage, onViewPage, onView, onEdit, onArchive }) {
export function buildRowActions({ onCreatePage, onViewPage, onView, onArchive }) {
return [
{
key: "view",
@@ -8,12 +8,6 @@ export function buildRowActions({ onCreatePage, onViewPage, onView, onEdit, onAr
icon: <Eye className="h-3.5 w-3.5" />,
onClick: (row) => onView(row),
},
{
key: "edit",
label: "Edit Lesson",
icon: <Pencil className="h-3.5 w-3.5" />,
onClick: (row) => onEdit(row),
},
{
key: "edit",
label: "View Content",