fix: update onTab prop type to accept any value for improved flexibility

This commit is contained in:
faisolavolut 2025-02-26 22:58:02 +07:00
parent 056f023223
commit 6e0a8b5e4d
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export interface TableUIProps<T extends object> extends TableListProps<T> {
tabHeader?: ((local: any) => React.ReactNode) | React.ReactNode;
modeTab?: "default" | "only-title";
tab?: { id: string; name: string; count?: number | null }[]; // ✅ Update count menjadi nullable
onTab?: (tabId: string | null | undefined) => void;
onTab?: (tabId: any) => void;
breadcrumb?: { label: string; href: string }[];
title?: string;
ready?: boolean;