/**
 *
 * Component
 *
 */

import PropTypes from 'prop-types';

import React from "react";
// import styled from 'styled-components';


class Component extends React.Component { // eslint-disable-line react/prefer-stateless-function
  render() {
    const className = this.props.name;
    return (
      <div className={className}>
        {this.props.children}
      </div>
    );
  }
}

Component.propTypes = {
  name: PropTypes.string.isRequired,
  children: PropTypes.array,
};

export default Component;
