import { cn } from 'ui' import { formatCurrency } from '@/lib/helpers' export interface ChargeBreakdownProps { subtotal: number subtotalLabel?: string total: number tax?: { amount: number; percentage: number } taxStatus?: 'calculated' | 'failed' | 'not_applicable' isFetching: boolean } export const ChargeBreakdown = ({ subtotal, subtotalLabel = 'Subtotal', total, tax, taxStatus, isFetching, }: ChargeBreakdownProps) => { return (