D.declare('view.cmp.Menu',({title, id, key, cls}) =>
  <div cls={_ => store.equal(key, id,active => _( 'main-menu-item', cls,
      'main-menu-item__'+D.escapeCls(id),
      {'main-menu-item__active': active}
    ))}
       onclick={()=> store.set(key, id)}>{title}</div>
);