export const toFirstUpper = (text: string) =>
  text.charAt(0).toUpperCase() + text.slice(1);

export const colors: Record<string, string> = {
  completed: "bg-green-100 text-green-700",
  approved: "bg-green-100 text-green-700",
  pending: "bg-yellow-100 text-yellow-700",
  processing: "bg-blue-100 text-blue-700",
  failed: "bg-red-100 text-red-700",
  declined: "bg-red-100 text-red-700",
  cancelled: "bg-gray-200 text-gray-700",
};
