chore: status order to figma

This commit is contained in:
Timur Ercan
2023-08-16 09:29:16 +02:00
committed by Mythie
parent 759b864b14
commit 46bd501835
2 changed files with 19 additions and 18 deletions

View File

@ -13,11 +13,6 @@ type FriendlyStatus = {
};
const FRIENDLY_STATUS_MAP: Record<InternalDocumentStatus, FriendlyStatus> = {
DRAFT: {
label: 'Draft',
icon: File,
color: 'text-yellow-500',
},
PENDING: {
label: 'Pending',
icon: Clock,
@ -28,6 +23,11 @@ const FRIENDLY_STATUS_MAP: Record<InternalDocumentStatus, FriendlyStatus> = {
icon: CheckCircle2,
color: 'text-green-500',
},
DRAFT: {
label: 'Draft',
icon: File,
color: 'text-yellow-500',
},
};
export type DocumentStatusProps = HTMLAttributes<HTMLSpanElement> & {