import type {BoardArticleListItem, BoardArticleSearchParams} from "../type/boardArticle.types.ts"; import {EmptyRow} from "../../../../component/EmptyRow.tsx"; import {BoardArticleListTableHeader} from "./BoardArticleListTableHeader.tsx"; import {BoardArticleListTableRow} from "./BoardArticleListTableRow.tsx"; import type {CheckableTableModel} from "../../../../../type/viewModel.ts"; type BoardArticleListTableProps = CheckableTableModel; export const BoardArticleListTable = ({ items, params, onChange, check, pagination }: BoardArticleListTableProps) => { return (
{items.length > 0 ? items.map((item, index) => ( )) : () }
) }