/**
 * Created by justin on 6/26/16.
 */

import * as React from 'react';
import * as classNames from 'classnames';
import './styles/hamburgermenu.scss';

interface Props {
  className: any,
  onClick: React.MouseEventHandler
}

export class HamburgerMenu extends React.Component<Props, any> {
  render(): React.ReactElement<HTMLAnchorElement> {
    let className: string = classNames('hamburger-icon', this.props.className);
    return (
      <a className={className} onClick={this.props.onClick}>
        <span className="hamburger-icon__span"></span>
      </a>
    );
  }
}