import ButtonLink from './ButtonLink.js';
import PropTypes from 'prop-types';
import React from 'react';
const SupportModule = ({ children, classes, haveList, title}) => (
{ title }
{ haveList && haveList.length > 0 &&
` ${item}__list`).join(' ') : ''}` }>
{ haveList.map((item, index) => (
- ` ${item}__list__item`).join(' ') : '' } key={ index }>
{/*
{ item.name }
*/}
)
) }
}
{ children }
)
SupportModule.propTypes = {
children: PropTypes.oneOfType([
PropTypes.arrayOf(PropTypes.node),
PropTypes.node
]),
classes: PropTypes.string,
haveList: PropTypes.arrayOf(PropTypes.shape()),
title: PropTypes.string
}
export default SupportModule;