content: import React from 'react';
  import classNames from 'classnames';
  import './Menu.styl';
  
  function Menu(props) {
  	const { items } = props;
  	const baseCls = 'menu';
  
  	return (
  		<div className={ baseCls }>
  			{ items.map( item => {
  				const itemCls = classNames(
  					`${baseCls}__item`,
  					{[`${baseCls}__item--active`]: item.active},
  				);
  
  				return (
  					<div key={ item.id } className={ itemCls }>{ item.name }</div>
  				);
  			})}
  		</div>
  	);
  }
  
  export default Menu;
  