feat: add StatusBadge component with configurable status display

This commit is contained in:
Firman Ramdhani
2026-07-16 11:36:17 +07:00
parent d004836615
commit 853769b1f8
2 changed files with 3 additions and 3 deletions
@@ -1 +1 @@
export * from './status-badge.component';
export * from './status-badge';
@@ -38,7 +38,7 @@ export enum STATUS_DATA {
WAIT = 'wait',
WAITING = 'waiting',
WAITLIST = 'wait-list',
WAITING_LIST = 'waiting-list',
PROCESS = 'process',
PROCESSING = 'processing',
@@ -173,7 +173,7 @@ export const DEFAULT_STATUS_MAP: Record<string, BadgeProps> = {
// #6C5DD0
[STATUS_DATA.WAIT]: { color: '#6C5DD0', leftSection: getIcon(Clock) },
[STATUS_DATA.WAITING]: { color: '#6C5DD0', leftSection: getIcon(Clock) },
[STATUS_DATA.WAITLIST]: { color: '#6C5DD0', leftSection: getIcon(Clock) },
[STATUS_DATA.WAITING_LIST]: { color: '#6C5DD0', leftSection: getIcon(Clock) },
// #D26DA9
[STATUS_DATA.CANCEL]: { color: '#D26DA9', leftSection: getIcon(XCircle) },