refactor: make createComparison more generic

This commit is contained in:
Arvid Norlin
2024-05-27 16:00:33 +02:00
parent f11e0c3903
commit 4b4e214ab9
4 changed files with 43 additions and 50 deletions

View File

@@ -72,10 +72,7 @@ export type LevelSummaryProps = {
}
export type BenefitCardProps = {
comparedValues: {
a: BenefitValueInformation
b: BenefitValueInformation
}
comparedValues: BenefitValueInformation[]
title: string
description: string
}