import React, { Fragment } from 'react';
import { ModalContainer, Modal } from 'minimal-react-modal';
import reduxLang from '../../middleware/lang';
const CVAGBInput = ({ onAGBChange, t }) => (
{(openModal, closeModal, isActive) => (
)}
);
export default reduxLang('ContribView')(CVAGBInput);
const _AGB = ({ closeModal, t }) => (
{t('title')}
{[...Array(6).keys()].map(key => (
{t(`rule${key + 1}_title`)}
{t(`rule${key + 1}_text`)}
))}
);
const AGB = reduxLang('Rules')(_AGB);