Files
web/components/Loyalty/Blocks/DynamicContent/OverviewTable/LevelSummary/index.tsx
2024-06-05 13:42:25 +02:00

15 lines
443 B
TypeScript

import Image from "@/components/Image"
import styles from "./levelSummary.module.css"
import { LevelSummaryProps } from "@/types/components/loyalty/blocks"
export default function LevelSummary({ level }: LevelSummaryProps) {
return (
<div className={styles.levelSummary}>
<span className={styles.levelRequirements}>{level.requirement}</span>
<p className={styles.levelSummaryText}>{level.description}</p>
</div>
)
}