import { _ } from '@evershop/evershop/lib/locale/translate/_'; import React from 'react'; interface SubTotalProps { count: number; total: string; } export function SubTotal({ count, total }: SubTotalProps) { return (
{_('Subtotal')}
{_('${count} items', { count: String(count) })}
{total}
); }