Fix dropdown opening

This commit is contained in:
Ray Schamp 2018-01-23 13:58:09 -05:00
parent f2392f6d5a
commit d5411ca20b

View file

@ -22,7 +22,7 @@ class Dropdown extends React.Component {
return ( return (
<this.props.as <this.props.as
className={classNames('dropdown', this.props.className, { className={classNames('dropdown', this.props.className, {
[open]: this.props.isOpen open: this.props.isOpen
})} })}
> >
{this.props.children} {this.props.children}