import React from 'react'; import Container from '../../../shared/Container'; import { CaseWrapper, CaseBlock, AmountBlock } from '../../../../styles/components/main/product/cyber/Case.style'; interface Props { title: string; description: JSX.Element; image: { url: string }; text: JSX.Element; items: { amount: string; text: string; }[]; } const Case: React.FC = ({ title, description, image, text, items }) => (

{title}

{description}

{text}

Remboursé par Easyblue

{items.map(({ amount, text }, index) =>
{amount} €

{text}

)}
); export default Case;