원복...
This commit is contained in:
@@ -19,7 +19,7 @@ type UiHeadProps = {
|
||||
title: string;
|
||||
}
|
||||
|
||||
export function UiTable({ tableData, headlist, pageSize, total, children, headName, cellClick, onPageChange, className }: UiTableProps) {
|
||||
export function UiTable({ tableData, headlist, pageSize, total, children, headName, cellClick, onPageChange }: UiTableProps) {
|
||||
const [cur, setCur] = useState<number>(1);
|
||||
const handlePageChange = (page: number) => {
|
||||
setCur(page);
|
||||
@@ -32,7 +32,7 @@ export function UiTable({ tableData, headlist, pageSize, total, children, headNa
|
||||
{headName ? <div className="card-header">
|
||||
<h3 className="text-2xl font-medium text-label">{headName}</h3>
|
||||
</div> : <></>}
|
||||
<div className={`card !m-[1.2rem] !p-0r ${className}`}>
|
||||
<div className={`card !m-[1.2rem] !p-0r`}>
|
||||
<Table>
|
||||
<TableHeader>
|
||||
{children ? <>{children}</> : <TableRow>
|
||||
|
||||
Reference in New Issue
Block a user