fix: rename getCustomStatusConfig to getCustomStatusBadgeConfig in EnterpriseDetailPageConfig

This commit is contained in:
Firman Ramdhani
2026-07-16 11:27:28 +07:00
parent 546bdfee49
commit a4240643ec
@@ -298,7 +298,7 @@ export interface EnterpriseDetailPageConfig<E extends BaseEntity = BaseEntity> e
/** Key to reference status data in the entity, used to render the status badge automatically. @default 'status' */
statusKey?: string;
/** Custom callback to provide dynamic status badge properties */
getCustomStatusConfig?: (status: string) => Partial<import('@mantine/core').BadgeProps>;
getCustomStatusBadgeConfig?: (status: string) => Partial<import('@mantine/core').BadgeProps>;
onClickCreate?: () => void;
onClickDuplicate?: (data: E) => void;