B2B-99: add package comparison modal (#27)
* B2B-99: add pacakge comparison modal * B2B-99: add package comparison modal --------- Co-authored-by: Helena <helena@Helenas-MacBook-Pro.local>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { formatCurrency } from "@kit/shared/utils";
|
||||
import { Badge } from "@kit/ui/badge";
|
||||
import { cn } from "@kit/ui/utils";
|
||||
import { formatCurrency } from '@kit/shared/utils';
|
||||
import { Badge } from '@kit/ui/badge';
|
||||
import { cn } from '@kit/ui/utils';
|
||||
|
||||
export const PackageHeader = ({
|
||||
title,
|
||||
@@ -18,7 +18,6 @@ export const PackageHeader = ({
|
||||
return (
|
||||
<div className="space-y-1 text-center">
|
||||
<p className="font-medium">{title}</p>
|
||||
<Badge className={cn('text-xs', tagColor)}>{analysesNr}</Badge>
|
||||
<h2>
|
||||
{formatCurrency({
|
||||
currencyCode: 'eur',
|
||||
@@ -26,6 +25,7 @@ export const PackageHeader = ({
|
||||
value: price,
|
||||
})}
|
||||
</h2>
|
||||
<Badge className={cn('text-xs', tagColor)}>{analysesNr}</Badge>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user