'use client' import { BreadcrumbItem, Breadcrumbs, Button, Input, Select, SelectItem, SelectSection, Table, TableBody, TableCell, TableColumn, TableHeader, TableRow, getKeyValue } from "@nextui-org/react"; import PPIDSidebar from '../Portal PPID/PPIDSidebar'; import { Checklist, EyeFilledIcon, EyeIcon, SearchIcon } from '../icons'; export default function ListEnewsPolri() { const searchInput = ( } endContent={ } type="search" /> ) const tableData = [ { key: "1", tahun: "MAJALAH TRIBRATA NEWS SUMSEL EDISI 33/ VII-IX/2023", icon: }, { key: "2", tahun: "Tribrata Edisi 1 2023", icon: }, { key: "3", tahun: "MAJALAH TRIBRATA NEWS SUMSEL EDISI 33/ VII-IX/2023", icon: }, { key: "4", tahun: "MAJALAH TRIBRATA NEWS SUMSEL EDISI 33/ VII-IX/2023", icon: }, { key: "5", tahun: "MAJALAH TRIBRATA NEWS SUMSEL EDISI 33/ VII-IX/2023", icon: }, ]; const header = [ { key: "tahun", label: "Daftar E-Majalah Polri", }, { key: "icon", label: '' } ] const animals = [ { label: "Title", value: "title" }, { label: "Date", value: "date" }, { label: "Created At", value: "createdAt" }, ]; return (
E-Majalah Polri
Beranda E-Majalah Polri
E-majalah Polri
{searchInput}
{(column) => {column.label}} {(item) => ( {(columnKey) => {getKeyValue(item, columnKey)}} )}
) }