chore: move types
This commit is contained in:
@@ -42,3 +42,43 @@ export type LevelCardProps = {
|
||||
logo: string
|
||||
}
|
||||
}
|
||||
|
||||
export type ComparisonLevel = {
|
||||
tier: number
|
||||
name: string
|
||||
description: string
|
||||
requirement: string
|
||||
icon: string
|
||||
benefits: [
|
||||
{
|
||||
name: string
|
||||
description: string
|
||||
unlocked: boolean
|
||||
value?: string
|
||||
valueDetails?: string
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
export type LevelSummaryProps = {
|
||||
level: ComparisonLevel
|
||||
}
|
||||
|
||||
export type BenefitCardProps = {
|
||||
comparedValues: {
|
||||
a: { unlocked: boolean; value?: string; valueDetails?: string }
|
||||
b: { unlocked: boolean; value?: string; valueDetails?: string }
|
||||
}
|
||||
title: string
|
||||
description: string
|
||||
}
|
||||
|
||||
type BenefitValueInformation = {
|
||||
unlocked: boolean
|
||||
value?: string
|
||||
valueDetails?: string
|
||||
}
|
||||
|
||||
export type BenefitValueProps = {
|
||||
benefit: BenefitValueInformation
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user