fix status

This commit is contained in:
2025-12-12 21:04:54 -03:00
parent eb33938204
commit 935d43d8fa
6 changed files with 51 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
import { CheckCircle2Icon, ClockIcon, type LucideIcon } from 'lucide-react'
export const statuses: Record<
string,
{ icon: LucideIcon; color?: string; label: string }
> = {
PENDING: {
icon: ClockIcon,
label: 'Em aberto'
},
CLOSED: {
icon: CheckCircle2Icon,
label: 'Fechado',
color: 'text-green-400 [&_svg]:text-green-500'
}
}
export const labels: Record<string, string> = {
PENDING: 'Em aberto',
CLOSED: 'Fechado'
}