koperasi/services/frontend/app/routes/dashboard.proyek.pengajuan._index/components/table/cell-action.tsx
2025-08-08 14:12:40 +07:00

21 lines
485 B
TypeScript

import { Link } from "@remix-run/react";
import { EyeIcon } from "lucide-react";
import { Button } from "~/components/ui/button";
import type { Proyek } from "~/types/api/proyek";
interface CellActionProps {
data: Proyek;
}
export function CellAction({ data }: CellActionProps) {
return (
<>
<Button asChild size="sm">
<Link to={`/dashboard/proyek/pengajuan/${data.id}`}>
<EyeIcon className="h-5 w-5" />
</Link>
</Button>
</>
);
}