24 lines
481 B
TypeScript
24 lines
481 B
TypeScript
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'
|
|
}
|
|
|
|
export const tz = 'local'
|