import React, {Component, PropTypes} from 'react' import classnames from 'classnames' class Dropdown extends Component { constructor (props) { super(props); this.state = { open: false }; } _handleClick (e) { e.preventDefault(); this.setState({open: !this.state.open}); } render () { const className = classnames( 'dropdown', this.props.className, {'dropdown--open': this.state.open}, {'dropdown--right': this.props.right} ); return (