fix status
This commit is contained in:
@@ -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'
|
||||
}
|
||||
Reference in New Issue
Block a user