mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user