diff --git a/src/components/shared/StatusBadge.tsx b/src/components/shared/StatusBadge.tsx index 1451695..8f7b893 100644 --- a/src/components/shared/StatusBadge.tsx +++ b/src/components/shared/StatusBadge.tsx @@ -8,14 +8,21 @@ const statusStyles: Record = { Failed: 'bg-red-100 text-red-700', // Voucher statuses Active: 'bg-green-100 text-green-700', - Inactive: 'bg-gray-100 text-gray-500', + Inactive: 'bg-gray-100 text-gray-600', + 'Inactive-G2P': 'bg-red-100 text-red-700', Canceled: 'bg-red-100 text-red-700', Expired: 'bg-purple-100 text-purple-700', Utilized: 'bg-gray-200 text-[#374151]', Suspended: 'bg-orange-100 text-orange-700', } -export default function StatusBadge({ status }: { status: string }) { +export default function StatusBadge({ + status, + label, +}: { + status: string + label?: string +}) { return ( - {status} + {label ?? status} ) } diff --git a/src/components/ui/input.tsx b/src/components/ui/input.tsx new file mode 100644 index 0000000..7fe1fde --- /dev/null +++ b/src/components/ui/input.tsx @@ -0,0 +1,18 @@ +import * as React from "react" +import { cn } from "@/lib/utils" + +function Input({ className, type, ...props }: React.ComponentProps<"input">) { + return ( + + ) +} + +export { Input } diff --git a/src/components/ui/label.tsx b/src/components/ui/label.tsx new file mode 100644 index 0000000..d1ab7f5 --- /dev/null +++ b/src/components/ui/label.tsx @@ -0,0 +1,17 @@ +import * as React from "react" +import { cn } from "@/lib/utils" + +function Label({ className, ...props }: React.ComponentProps<"label">) { + return ( +