fix: rename getCustomStatusConfig to getCustomStatusBadgeConfig in EnterpriseDetailPageConfig
This commit is contained in:
@@ -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' */
|
/** Key to reference status data in the entity, used to render the status badge automatically. @default 'status' */
|
||||||
statusKey?: string;
|
statusKey?: string;
|
||||||
/** Custom callback to provide dynamic status badge properties */
|
/** 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;
|
onClickCreate?: () => void;
|
||||||
onClickDuplicate?: (data: E) => void;
|
onClickDuplicate?: (data: E) => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user