import React from 'react'
import { Badge } from '@/components/ui/badge'
import { Ic } from '@/icons'
import type { FactorService } from '../types'
import { useTranslation } from '@/i18n'
interface Props {
service: FactorService
className?: string
}
export function BillingServiceBadge({ service, className }: Props) {
const { t } = useTranslation()
switch (service) {
case 'tour':
return (
{t('billing.serviceTour')}
)
case 'simcard':
return (
{t('billing.serviceSimcard')}
)
case 'shop':
return (
{t('billing.serviceShop')}
)
case 'tasrif':
return (
{t('billing.serviceExchange')}
)
case 'custom_trip':
return (
{t('billing.serviceCustomTrip')}
)
default:
return (
{service}
)
}
}